diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-19 08:16:37 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-25 10:06:48 +1000 |
commit | 1e264b6e9431a200c0cf3f0432df4062ffaae20d (patch) | |
tree | 191b5619ad3fdea4f89da6c73288009d8533443f | |
parent | f46737726b0c81f8cf83c9f22bae7a659b01414f (diff) | |
download | libevdev-1e264b6e9431a200c0cf3f0432df4062ffaae20d.tar.gz |
test: override check-local instead of check
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | test/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 1b65224..c027e8f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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 |