diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-31 20:19:58 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-01-02 19:45:47 -0500 |
commit | a0846368c808fb8b73b84d40472717cfd83ca4d7 (patch) | |
tree | 02b39584b5cc5e94554edb07cbcfa196c86477e6 /Makefile.am | |
parent | 4ebe732c0cdcd9431a5095140bc4189f86508725 (diff) |
build-sys: make valgrind-tests target output nicer
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 44b69171a4..069583cfd4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 |