aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-06-30 09:00:15 -0400
committerLibravatar GitHub <noreply@github.com>2022-06-30 09:00:15 -0400
commit70aaf6fea40ac4f4f28094cad639ec4c00897843 (patch)
treeb3013b4abeaf00cde4ab63f90bdc91ef8e6520a9 /test/Makefile
parenttest/fs: enable private-lib in firejail.config (diff)
parentmakefiles: add generated files as dependencies (diff)
downloadfirejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.tar.gz
firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.tar.zst
firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.zip
Merge pull request #5219 from kmk3/build-reduce-config-files
build: reduce autoconf input files from 32 to 2
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 000000000..2f3a97d73
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,13 @@
1TESTS=$(patsubst %/,%,$(wildcard */))
2
3.PHONY: $(TESTS)
4$(TESTS):
5 cd $@ && ./$@.sh 2>&1 | tee $@.log
6 cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log
7
8.PHONY: clean
9clean:
10 for test in $(TESTS); do rm -f "$$test/$$test.log"; done
11
12.PHONY: distclean
13distclean: clean