blob: d7b1bac7a963e289b6c6c3bed7664e051850c334 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
.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
|