mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
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
This commit is contained in:
parent
d7a4278d29
commit
0bd179ffcd
@ -6417,7 +6417,7 @@ install-tree: all
|
|||||||
.PHONY: valgrind-tests
|
.PHONY: valgrind-tests
|
||||||
valgrind-tests: $(TESTS)
|
valgrind-tests: $(TESTS)
|
||||||
$(AM_V_GEN)for f in $(filter-out %.pl %.py, $^); do \
|
$(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}Skipping non-binary $$f"; else \
|
||||||
echo -e "$${x}Running $$f"; \
|
echo -e "$${x}Running $$f"; \
|
||||||
$(LIBTOOL) --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
|
$(LIBTOOL) --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
|
||||||
|
Loading…
Reference in New Issue
Block a user