test: Add --enable-test-valgrind
[petitboot] / configure.ac.in
index 8372b98860ed705c21b34c3786eddc41ff26c738..be372a6337757e2be510961b75039aa4abbbf85c 100644 (file)
@@ -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],
        [