aboutsummaryrefslogtreecommitdiff
path: root/tests/scripts/makefile
blob: a85d373856fed5008930b80d7aad220d3a124879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: all
all: check

TESTS :=
include tests.mk

.PHONY: check
check: $(TESTS)
	@cd reports; for d in * ; do				\
		if [ ! -f "$$d/OK" ]; then			\
			echo "BROKEN: $$d" ;			\
		elif [ "$$(tail -n1 $$d/OK)" != "OK" ]; then	\
			echo "FAIL: $$d" ;			\
		fi						\
	done
	@echo "Done."