aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2021-03-01 21:05:06 +0100
committerLibravatar GitHub <noreply@github.com>2021-03-01 21:05:06 +0100
commit22fd89b870a9cb5b9f0f6dcc5da69f2b8009e898 (patch)
treeacedfd8bf81a9e6c2c149b530ce460184043fc7c /test
parenttests: also remove arguments tests which also depend on faudit (diff)
parentmakefiles: make all, clean and distclean PHONY (diff)
downloadfirejail-22fd89b870a9cb5b9f0f6dcc5da69f2b8009e898.tar.gz
firejail-22fd89b870a9cb5b9f0f6dcc5da69f2b8009e898.tar.zst
firejail-22fd89b870a9cb5b9f0f6dcc5da69f2b8009e898.zip
Merge pull request #4024 from kmk3/improve-makefiles
Makefile improvements
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index d41ab39d1..264314a3b 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1,13 +1,14 @@
1TESTS=$(patsubst %/,%,$(wildcard */)) 1TESTS=$(patsubst %/,%,$(wildcard */))
2 2
3.PHONY: $(TESTS) 3.PHONY: $(TESTS)
4
5$(TESTS): 4$(TESTS):
6 cd $@ && ./$@.sh 2>&1 | tee $@.log 5 cd $@ && ./$@.sh 2>&1 | tee $@.log
7 cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log 6 cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log
8 7
8.PHONY: clean
9clean: 9clean:
10 for test in $(TESTS); do rm -f "$$test/$$test.log"; done 10 for test in $(TESTS); do rm -f "$$test/$$test.log"; done
11 11
12.PHONY: distclean
12distclean: clean 13distclean: clean
13 rm -f Makefile 14 rm -f Makefile