efl: --with-profile=dev implies --with-tests=regular
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Tue, 8 Jan 2013 13:39:25 +0000 (13:39 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Tue, 8 Jan 2013 13:39:25 +0000 (13:39 +0000)
if --with-tests={none,coverage} is given, those are used. Just the
default is changed.

SVN revision: 82412

configure.ac

index 907b80a..b0641f2 100644 (file)
@@ -98,11 +98,16 @@ AC_ARG_WITH([tests],
                    [choose testing method: regular, coverage or none.
                     @<:@default=none@:>@])],
    [build_tests=${withval}],
-   [build_tests=none])
+   [build_tests=auto])
 
 want_coverage="no"
 want_tests="no"
 case "${build_tests}" in
+   auto)
+     if test "${build_profile}" = "dev"; then
+        want_tests="yes"
+     fi
+     ;;
    regular)
      want_tests="yes"
      ;;