Commit a020ad00 authored by Mikaël Salson's avatar Mikaël Salson

Makefile: Launch valgrind on all functional tests

parent d9b310dc
......@@ -65,6 +65,8 @@ shouldvdj_generated_fine: all
python algo/tests/tap-stats.py data/gen/0-*.1.tap
python algo/tests/tap-stats.py data/gen/5-*.1.tap
valgrind_test:
make -C algo/tests valgrind
unit_browser:
make -C browser/test unit
......
......@@ -31,6 +31,8 @@ shouldvdj:
%.log: %.should_get force
./should-to-tap.sh $<
valgrind:
LAUNCHER='valgrind --tool=memcheck --leak-check=full --show-reachable=yes --undef-value-errors=yes --track-origins=yes --xml=yes --xml-file=$$(mktemp --tmpdir=. --suffix=.valgrind)' make should
$(EXEC): % : %.o $(LIB)
$(CC) -o $@ $< $(LIB) $(LDLIBS) $(LDFLAGS) $(CXXFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment