diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-08-19 11:08:56 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-08-19 13:27:59 +0800 |
commit | e25ee629c6dfa47c13121cc70b2da1b2dd21036c (patch) | |
tree | 3b658bf9cf65c3be1a9f6a47c658a47a707debd7 /configure.ac.in | |
parent | 9d51bd9c70df1ea91a1051b1005e59fe220fd375 (diff) | |
download | petitboot-e25ee629c6dfa47c13121cc70b2da1b2dd21036c.zip petitboot-e25ee629c6dfa47c13121cc70b2da1b2dd21036c.tar.gz |
test: Add --enable-test-valgrind
Add an --enable-test-valgrind argument to configure, to run all tests
under valgrind, configured to fail on leaked memory
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac.in b/configure.ac.in index 8372b98..be372a6 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -173,6 +173,14 @@ AC_ARG_ENABLE( ) #AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = "xyes"]) +AC_ARG_ENABLE( + [test-valgrind], + [AS_HELP_STRING([--enable-test-valgrind], + [run all tests with valgrind] + )], +) +AM_CONDITIONAL([ENABLE_TEST_VALGRIND], [test "x$enable_test_valgrind" = "xyes"]) + # host program paths AC_DEFUN([DEFINE_HOST_PROG], [ |