summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2016-07-03 11:19:38 -0400
committerFelipe Sateler <fsateler@gmail.com>2016-07-03 18:33:02 -0400
commit0bd179ffcd501ae84ec11a3b81b47836a1c0fdc0 (patch)
treee54cfcff4e82195cdb12d56ddd208bca5b486c41 /Makefile.am
parentd7a4278d29fe2ca976ae3db3d12705cdc9dd01be (diff)
tests: run file via libtool to determine shell scripts
The actual output file might be a wrapper script, so lets follow the indirection Fixes: #3644
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 0ec407520b..fa81400bd2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6417,7 +6417,7 @@ install-tree: all
.PHONY: valgrind-tests
valgrind-tests: $(TESTS)
$(AM_V_GEN)for f in $(filter-out %.pl %.py, $^); do \
- if file $$f | grep -q shell; then \
+ if $(LIBTOOL) --mode=execute 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=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \