configure.ac: remove --disable-test-run

This flag was used to disable test runs during make distcheck. Now that we
have more checks and the environment variable, we can drop this flag.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-06-15 16:23:04 +10:00
parent 6345c1cca2
commit c16d85b8b6
3 changed files with 0 additions and 10 deletions

View file

@ -9,5 +9,3 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libevdev.pc
EXTRA_DIST = libevdev.pc.in
AM_DISTCHECK_CONFIGURE_FLAGS = --disable-test-run

View file

@ -79,11 +79,6 @@ AM_CONDITIONAL(HAVE_VALGRIND, [test "x$VALGRIND" != "x"])
AM_CONDITIONAL(ENABLE_RUNTIME_TESTS, [test "x$HAVE_CHECK" = "xyes"])
AM_CONDITIONAL(ENABLE_STATIC_LINK_TEST, [test "x$enable_static" = "xyes"])
AC_ARG_ENABLE([test-run],
AS_HELP_STRING([--enable-test-run], [For internal use only]),
[run_tests="$enableval"], [run_tests="yes"])
AM_CONDITIONAL(RUN_TESTS, [test "x$run_tests" = "xyes"])
with_cflags=""
if test "x$GCC" = "xyes"; then
CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
@ -168,7 +163,6 @@ AC_MSG_RESULT([
Build documentation ${have_doxygen}
Enable unit-tests ${HAVE_CHECK}
Run unit-tests ${run_tests}
Enable profiling ${enable_gcov}
Static library symbol check ${static_symbol_leaks_test}
])

View file

@ -36,9 +36,7 @@ run_tests = \
noinst_PROGRAMS += $(run_tests)
if RUN_TESTS
TESTS = $(run_tests)
endif
common_sources = \
test-common-uinput.c \