summaryrefslogtreecommitdiffstats
path: root/test/Makefile
blob: 758befa364025dcba89be18978eca3dd5f956f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
T = $(sort $(wildcard *.t))

PROVE := $(shell command -v prove 2> /dev/null)

ifdef PROVE
check:
	prove .
else
check: $(T)
endif

clean:
	$(RM) -r test-results/

$(T):
	@echo "*** $@ ***"; $(SHELL) $@

.PHONY: check $(FOREIGN_TARGETS) clean $(T)