build-sys: make valgrind-tests target output nicer

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2013-12-31 20:19:58 -05:00
parent 4ebe732c0c
commit a0846368c8
1 changed files with 3 additions and 1 deletions

View File

@ -4902,8 +4902,10 @@ install-tree: all
# exclude the one perl script we have in there
valgrind-tests: $(TESTS)
$(AM_V_GEN)for f in $(filter-out %.pl, $^); do \
if file $$f | grep -q shell; then \
echo -e "$${x}Skipping non-binary $$f"; else \
echo -e "$${x}Running $$f"; \
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \
libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; fi; \
x="\n\n"; \
done