Small cleanup for valgrind target
diff --git a/Makefile.am b/Makefile.am
index dcac0f8..c8e8c93 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -209,10 +209,10 @@
check: all runtests
-check-valgrind: all
+check-valgrind valgrind: all
@echo '## Running the regression tests under Valgrind'
@echo '## Go get a cup of coffee it is gonna take a while ...'
- $(MAKE) CHECKER='valgrind -q' check
+ $(MAKE) CHECKER='valgrind -q' runtests
testall : tests SVGtests SAXtests
@@ -221,11 +221,6 @@
$(MAKE) tests ; fi)
@(cd doc/examples ; $(MAKE) tests)
-valgrind:
- @echo '## Running the regression tests under Valgrind'
- @echo '## Go get a cup of coffee it is gonna take a while ...'
- $(MAKE) CHECKER='valgrind -q' tests
-
APItests: testapi$(EXEEXT)
@echo "## Running the API regression tests this may take a little while"
-@($(CHECKER) $(top_builddir)/testapi -q)