Skip to content
Permalink
Browse files

Makefile: Clean Valgrind reports before launching Valgrind on all the…

… should_gets
  • Loading branch information
mikael-s committed Mar 12, 2015
1 parent 90a7080 commit e6dcbb949d1903737b1350f3c4a5989f5346de9f
Showing with 9 additions and 0 deletions.
  1. +5 −0 algo/tests/Makefile
  2. +4 −0 reports/Makefile
@@ -33,6 +33,11 @@ shouldvdj:

%.tap: %.should_get force
./should-to-tap.sh $<

valgrind_should:
make -C $(REPORTS_PATH) clean_valgrind
LAUNCHER="$(VALGRIND)" make should

valgrind_%:
LAUNCHER="$(VALGRIND)" make $(patsubst valgrind_%,%,$@)

@@ -0,0 +1,4 @@
clean_valgrind:
rm -f valgrind.*

clean: clean_valgrind

0 comments on commit e6dcbb9

Please sign in to comment.