forked from enlightenment/efl
efl: --with-profile=dev implies --with-tests=regular
if --with-tests={none,coverage} is given, those are used. Just the default is changed. SVN revision: 82412
This commit is contained in:
parent
fb0daf5262
commit
26fa0cc64c
|
@ -98,11 +98,16 @@ AC_ARG_WITH([tests],
|
||||||
[choose testing method: regular, coverage or none.
|
[choose testing method: regular, coverage or none.
|
||||||
@<:@default=none@:>@])],
|
@<:@default=none@:>@])],
|
||||||
[build_tests=${withval}],
|
[build_tests=${withval}],
|
||||||
[build_tests=none])
|
[build_tests=auto])
|
||||||
|
|
||||||
want_coverage="no"
|
want_coverage="no"
|
||||||
want_tests="no"
|
want_tests="no"
|
||||||
case "${build_tests}" in
|
case "${build_tests}" in
|
||||||
|
auto)
|
||||||
|
if test "${build_profile}" = "dev"; then
|
||||||
|
want_tests="yes"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
regular)
|
regular)
|
||||||
want_tests="yes"
|
want_tests="yes"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue