]> granicus.if.org Git - strace/commitdiff
tests: add check-valgrind-local make rule
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 20 Jul 2017 00:06:06 +0000 (00:06 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 20 Jul 2017 00:06:06 +0000 (00:06 +0000)
This guarantees that $(check_LIBRARIES) and $(check_PROGRAMS)
are made on 'make check-valgrind' before its recipe is processed.

* tests/Makefile.am (check-valgrind-local): New rule.
(.PHONY): Add it.

tests/Makefile.am

index 89f7cd8b0d3023336c49e430e966e9393c1ce5b9..5687a8d82e941ceab004cbbd290156f42ec23952 100644 (file)
@@ -387,6 +387,9 @@ clean-local: clean-local-check
 clean-local-check:
        -rm -rf -- $(TESTS:.test=.dir) $(GEN_TESTS:.gen.test=.dir)
 
+.PHONY: check-valgrind-local
+check-valgrind-local: $(check_LIBRARIES) $(check_PROGRAMS)
+
 BUILT_SOURCES = ksysent.h
 CLEANFILES = ksysent.h