mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 22:50:05 +01:00
test: override check-local instead of check
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f46737726b
commit
1e264b6e94
1 changed files with 6 additions and 2 deletions
|
|
@ -56,6 +56,8 @@ test_kernel_SOURCES = \
|
|||
test_kernel_CFLAGS = -I$(top_srcdir)
|
||||
test_kernel_LDADD = $(CHECK_LIBS)
|
||||
|
||||
check_local_deps =
|
||||
|
||||
if HAVE_VALGRIND
|
||||
VALGRIND_FLAGS=--leak-check=full \
|
||||
--quiet \
|
||||
|
|
@ -65,7 +67,7 @@ VALGRIND_FLAGS=--leak-check=full \
|
|||
valgrind:
|
||||
$(MAKE) check-TESTS LOG_COMPILER="$(VALGRIND)" LOG_FLAGS="$(VALGRIND_FLAGS)"
|
||||
|
||||
check: valgrind
|
||||
check_local_deps += valgrind
|
||||
|
||||
endif
|
||||
|
||||
|
|
@ -96,7 +98,7 @@ gcov-report.txt: gcov-clean check-TESTS
|
|||
gcov: gcov-report.txt
|
||||
@cat gcov-report.txt
|
||||
|
||||
check-local: gcov
|
||||
check_local_deps += gcov
|
||||
|
||||
else
|
||||
|
||||
|
|
@ -116,4 +118,6 @@ endif
|
|||
clean-local: gcov-clean
|
||||
rm -f *.gcno *.gcda
|
||||
|
||||
check-local: $(check_local_deps)
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue