Commits

Greg Ward committed 7a064ef

Makefile: apply valgrind to all tests, not just test-simple.

Comments (0)

Files changed (1)

 # Maximally pessimistic view of header dependencies.
 $(objects): $(headers)
 
-.PHONY: check check-simple check-hg check-git check-fossil
+.PHONY: check check-simple check-hg check-git check-fossil grind
 check: check-simple check-hg check-git check-fossil
 
 hgrepo = tests/hg-repo.tar
 check-simple: vcprompt
 	cd tests && ./test-simple
 
-grind: check-simple
-	(cd tests && VCPVALGRIND=y ./test-simple)
-
 check-hg: vcprompt $(hgrepo)
 	cd tests && ./test-hg
 
 $(fossilrepo): tests/setup-fossil
 	cd tests && ./setup-fossil
 
+grind: check
+	make check VCPVALGRIND=y
+
 clean:
 	rm -f $(objects) vcprompt $(hgrepo) $(gitrepo) $(fossilrepo)