configure does not print tests option as a default

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D62
This commit is contained in:
Ryuan Choi 2013-11-04 20:58:09 +09:00 committed by Carsten Haitzler (Rasterman)
parent b07c0a76ce
commit d93c4b2307
1 changed files with 6 additions and 3 deletions

View File

@ -96,9 +96,9 @@ case "${build_crypto}" in
esac esac
AC_ARG_WITH([tests], AC_ARG_WITH([tests],
[AC_HELP_STRING([--with-tests=none|regular|coverage], [AC_HELP_STRING([--with-tests=none|auto|regular|coverage],
[choose testing method: regular, coverage or none. [choose testing method: regular, coverage or none or auto(same as regular if profile is dev).
@<:@default=none@:>@])], @<:@default=auto@:>@])],
[build_tests=${withval}], [build_tests=${withval}],
[build_tests=auto]) [build_tests=auto])
@ -108,6 +108,9 @@ case "${build_tests}" in
auto) auto)
if test "${build_profile}" = "dev"; then if test "${build_profile}" = "dev"; then
want_tests="yes" want_tests="yes"
build_tests="regular"
else
build_tests="none"
fi fi
;; ;;
regular) regular)