[PATCH libevdev 1/2] configure: rename BUILD_TESTS to ENABLE_RUNTIME_TESTS

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 26 00:19:34 PDT 2014


Avoids confusion when we build tests in the future even though BUILD_TESTS is
disabled.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 configure.ac     | 4 ++--
 test/Makefile.am | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1fbdc23..f5a968f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,7 +74,7 @@ else
 	AC_MSG_WARN([check not found - skipping building unit tests])
 fi
 AM_CONDITIONAL(HAVE_VALGRIND, [test "x$VALGRIND" != "x"])
-AM_CONDITIONAL(BUILD_TESTS, [test "x$HAVE_CHECK" = "xyes"])
+AM_CONDITIONAL(ENABLE_RUNTIME_TESTS, [test "x$HAVE_CHECK" = "xyes"])
 
 with_cflags=""
 if test "x$GCC" = "xyes"; then
@@ -147,7 +147,7 @@ AC_OUTPUT
 
 AC_MSG_RESULT([
 	       Build documentation		${have_doxygen}
-	       Build unit-tests			${HAVE_CHECK}
+	       Enable unit-tests		${HAVE_CHECK}
 	       Enable profiling			${enable_gcov}
 	       Static library symbol check	${have_nm}
 	       ])
diff --git a/test/Makefile.am b/test/Makefile.am
index 0781d72..fef75a6 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,6 +1,6 @@
-if BUILD_TESTS
-run_tests = test-libevdev test-kernel
+if ENABLE_RUNTIME_TESTS
 build_tests = test-compile-pedantic test-link test-static-link
+run_tests = test-libevdev test-kernel
 
 .NOTPARALLEL:
 
-- 
1.9.3



More information about the Input-tools mailing list