mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 06:06:03 -06:00
14 lines
303 B
Makefile
14 lines
303 B
Makefile
.SUFFIXES:
|
|
ROOT = ..
|
|
-include $(ROOT)/config.mk
|
|
|
|
TESTS=$(patsubst %/,%,$(wildcard */))
|
|
|
|
.PHONY: $(TESTS)
|
|
$(TESTS):
|
|
cd $@ && ./$@.sh 2>&1 | tee $@.log
|
|
cd $@ && grep -a TESTING $@.log && ! grep -a -q "TESTING ERROR" $@.log
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
for test in $(TESTS); do rm -f "$$test/$$test.log"; done
|