mirror of
https://github.com/systemd/systemd
synced 2024-10-14 12:04:49 +00:00
Merge pull request #2283 from evverx/update-valgrind-tests
build-sys: valgrind-tests: exclude python scripts too
This commit is contained in:
commit
a2e9fd6233
|
@ -6285,10 +6285,10 @@ install-tree: all
|
||||||
tree $(abs_srcdir)/install-tree
|
tree $(abs_srcdir)/install-tree
|
||||||
|
|
||||||
# Let's run all tests of the test suite, but under valgrind. Let's
|
# Let's run all tests of the test suite, but under valgrind. Let's
|
||||||
# exclude the one perl script we have in there
|
# exclude perl/python/shell scripts we have in there
|
||||||
.PHONY: valgrind-tests
|
.PHONY: valgrind-tests
|
||||||
valgrind-tests: $(TESTS)
|
valgrind-tests: $(TESTS)
|
||||||
$(AM_V_GEN)for f in $(filter-out %.pl, $^); do \
|
$(AM_V_GEN)for f in $(filter-out %.pl %.py, $^); do \
|
||||||
if file $$f | grep -q shell; then \
|
if 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"; \
|
||||||
|
|
Loading…
Reference in a new issue