Commit 92790a41 authored by Mathieu Giraud's avatar Mathieu Giraud

tests/Makefile: mktemp invocation, keep .xml in reports/

This invocation should also be more portable
parent 4f32b43f
......@@ -32,7 +32,7 @@ shouldvdj:
%.log: %.should_get force
./ $<
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
LAUNCHER='valgrind -v --tool=memcheck --leak-check=full --show-reachable=yes --undef-value-errors=yes --track-origins=yes --xml=yes --xml-file=$$(mktemp ../../reports/valgrind.xml.XXXXXX)' 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