mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 06:50:06 +01:00
test: drop the valgrind make check wrappers from autotools
We have meson with a proper test suite setup and this currently breaks the CI due to some Arch issues with glibc debuginfo packages. Let's just drop this so we don't run valgrind unconditionally. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1489287bf1
commit
1e9fb4fe02
2 changed files with 2 additions and 18 deletions
|
|
@ -59,12 +59,9 @@ AC_CHECK_LIB([m], [round])
|
|||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
PKG_CHECK_MODULES(CHECK, [check >= 0.9.9], [HAVE_CHECK="yes"], [HAVE_CHECK="no"])
|
||||
if test "x$HAVE_CHECK" = "xyes"; then
|
||||
AC_PATH_PROG(VALGRIND, [valgrind])
|
||||
else
|
||||
if test "x$HAVE_CHECK" != "xyes"; then
|
||||
AC_MSG_WARN([check not found - skipping building unit tests])
|
||||
fi
|
||||
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"])
|
||||
|
||||
|
|
|
|||
|
|
@ -89,24 +89,11 @@ test_kernel_SOURCES = \
|
|||
test_kernel_CFLAGS = -I$(top_srcdir)
|
||||
test_kernel_LDADD = $(CHECK_LIBS) $(top_builddir)/libevdev/libevdev.la
|
||||
|
||||
if HAVE_VALGRIND
|
||||
VALGRIND_FLAGS=--leak-check=full \
|
||||
--quiet \
|
||||
--error-exitcode=3 \
|
||||
--suppressions=$(srcdir)/valgrind.suppressions
|
||||
|
||||
valgrind:
|
||||
$(MAKE) check-TESTS CK_TIMEOUT_MULTIPLIER=10 LOG_COMPILER="$(VALGRIND)" LOG_FLAGS="$(VALGRIND_FLAGS)"
|
||||
|
||||
check_local_deps += valgrind
|
||||
|
||||
endif
|
||||
|
||||
if GCOV_ENABLED
|
||||
|
||||
CLEANFILES = gcov-reports/*.gcov gcov-reports/summary.txt *.gcno *.gcda
|
||||
|
||||
gcov-report: generate-gcov-report.sh check-TESTS
|
||||
gcov-report: generate-gcov-report.sh
|
||||
$(AM_V_GEN)$(srcdir)/generate-gcov-report.sh gcov-reports $(top_builddir)/libevdev $(builddir)
|
||||
|
||||
gcov: gcov-report
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue