diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2021-03-01 21:05:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 21:05:06 +0100 |
commit | 22fd89b870a9cb5b9f0f6dcc5da69f2b8009e898 (patch) | |
tree | acedfd8bf81a9e6c2c149b530ce460184043fc7c /test | |
parent | tests: also remove arguments tests which also depend on faudit (diff) | |
parent | makefiles: make all, clean and distclean PHONY (diff) | |
download | firejail-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.in | 3 |
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 @@ | |||
1 | TESTS=$(patsubst %/,%,$(wildcard */)) | 1 | TESTS=$(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 | ||
9 | clean: | 9 | clean: |
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 | ||
12 | distclean: clean | 13 | distclean: clean |
13 | rm -f Makefile | 14 | rm -f Makefile |