diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-02-18 18:02:52 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-02-18 18:10:47 +0100 |
commit | be6ce67213066c9348d60894cb59546d74407096 (patch) | |
tree | c770d36940b876fa6bec5fb11532c394d3477bb9 /configure.ac | |
parent | b1e6c9be91159ee487dadfed1a8c839688594c7b (diff) | |
download | NetworkManager-be6ce67213066c9348d60894cb59546d74407096.tar.gz |
build: don't run tests with valgrind by defaultlr/valgrind
Only enable it when user requested it. The surpressions might not work for
everyone.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 883a2e2977..a6780114a5 100644 --- a/configure.ac +++ b/configure.ac @@ -873,13 +873,13 @@ VAPIGEN_CHECK(0.17.1.24) # Tests, utilities and documentation AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests=root|yes|no], [Build NetworkManager tests (default: yes)])) -AC_ARG_WITH(valgrind, AS_HELP_STRING([--with-valgrind=yes|no|path], [Use valgrind to memory-check the tests (default: yes)])) +AC_ARG_WITH(valgrind, AS_HELP_STRING([--with-valgrind=yes|no|path], [Use valgrind to memory-check the tests (default: no)])) # Fallback to --with-tests AC_ARG_WITH(tests, AS_HELP_STRING([--with-tests], [Build NetworkManager tests (deprecated)])) AS_IF([test -n "$with_tests"], enable_tests="$with_tests") -# Default to --enable-tests --with-valgrind +# Default to --enable-tests --with-valgrind=no AS_IF([test -z "$enable_tests"], enable_tests="yes") -AS_IF([test -z "$with_valgrind"], with_valgrind="yes") +AS_IF([test -z "$with_valgrind"], with_valgrind="no") # Normalize values AS_IF([test "$enable_tests" != "yes" -a "$enable_tests" != "root"], enable_tests="no") # Search for tools |