aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
blob: 5bfad42fad318694f77eac1fb616fe14f847ade5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
TESTS=$(patsubst %/,%,$(wildcard */))

.PHONY: $(TESTS)
$(TESTS):
	cd $@ && ./$@.sh 2>&1 | tee $@.log
	cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log

clean:
	for test in $(TESTS); do rm -f "$$test/$$test.log"; done

distclean: clean
	rm -f Makefile