chiark / gitweb /
Prep v233.3: Add all possible coverage tests for elogind
[elogind.git] / configure.ac
index 281570e45848d661204d1d5db536e862807eee4a..aa3cf86bf854d3730dd9cc77e7a2823da1da9d1c 100644 (file)
@@ -764,9 +764,10 @@ AS_IF([test "x$0" != "x./configure"], [
 ])
 
 AC_ARG_ENABLE(tests,
-        [AS_HELP_STRING([--disable-tests], [disable tests, or enable extra tests with =unsafe])],
+        [AC_HELP_STRING([--disable-tests], [disable tests, or enable extra tests with =unsafe])],
         enable_tests=$enableval, enable_tests=yes)
-AM_CONDITIONAL(ENABLE_TESTS, [test x$enable_tests = xyes])
+AM_CONDITIONAL(ENABLE_TESTS, [test x$enable_tests = xyes -o x$enable_tests = xunsafe])
+AM_CONDITIONAL(ENABLE_UNSAFE_TESTS, [test x$enable_tests = xunsafe])
 
 AC_ARG_ENABLE(debug,
         [AC_HELP_STRING([--enable-debug@<:@=LIST@:>@], [enable extra debugging (elogind,hashmap,mmap-cache)])],