diff options
author | Tom Hacohen <tom@stosb.com> | 2013-11-19 13:06:24 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2013-11-19 13:06:24 +0000 |
commit | bf4a7e8c34e0c05ce7e08def5590a46ecd68f010 (patch) | |
tree | b12d9a9ff82ebab709290aed703ac601257c6e12 | |
parent | 0a32212a79ada418dc12d7e76f93871032e0c4e3 (diff) |
Revert "configure does not print tests option as a default"
This reverts commit d93c4b23072d3fe4cd2b2375cf87b424d1a56ba6.
Auto is not an option, and does not mean it'll be automatically
detected.
What auto means is that unless explicitly enabled/disabled it'll check
according to the build profile and will enable it automatically if using
the dev profile.
-rw-r--r-- | configure.ac | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 98236dac4b..1b30c25a18 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -106,9 +106,9 @@ case "${build_crypto}" in | |||
106 | esac | 106 | esac |
107 | 107 | ||
108 | AC_ARG_WITH([tests], | 108 | AC_ARG_WITH([tests], |
109 | [AC_HELP_STRING([--with-tests=none|auto|regular|coverage], | 109 | [AC_HELP_STRING([--with-tests=none|regular|coverage], |
110 | [choose testing method: regular, coverage or none or auto(same as regular if profile is dev). | 110 | [choose testing method: regular, coverage or none. |
111 | @<:@default=auto@:>@])], | 111 | @<:@default=none@:>@])], |
112 | [build_tests=${withval}], | 112 | [build_tests=${withval}], |
113 | [build_tests=auto]) | 113 | [build_tests=auto]) |
114 | 114 | ||
@@ -118,9 +118,6 @@ case "${build_tests}" in | |||
118 | auto) | 118 | auto) |
119 | if test "${build_profile}" = "dev"; then | 119 | if test "${build_profile}" = "dev"; then |
120 | want_tests="yes" | 120 | want_tests="yes" |
121 | build_tests="regular" | ||
122 | else | ||
123 | build_tests="none" | ||
124 | fi | 121 | fi |
125 | ;; | 122 | ;; |
126 | regular) | 123 | regular) |