mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 13:50:16 +01:00
configure: rename BUILD_TESTS to ENABLE_RUNTIME_TESTS
Avoids confusion when we build tests in the future even though BUILD_TESTS is disabled. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7571dc49e5
commit
a669ac1faf
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
@ -150,7 +150,7 @@ AC_MSG_RESULT([
|
|||
Libdir ${libdir}
|
||||
|
||||
Build documentation ${have_doxygen}
|
||||
Build unit-tests ${HAVE_CHECK}
|
||||
Enable unit-tests ${HAVE_CHECK}
|
||||
Enable profiling ${enable_gcov}
|
||||
Static library symbol check ${have_nm}
|
||||
])
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue