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
See http://stackoverflow.com/questions/2792675/how-portable-is-mktemp1
parent 4f32b43f
......@@ -32,7 +32,7 @@ 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
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