summaryrefslogtreecommitdiff
path: root/Test/Makefile
blob: dab13bd27de63fb20ef22b1015f1e4490fe38b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TESTS_FILE = alltests.txt
LONG = $(shell awk '{ if (tolower($$2) ~ /^long$$/) print $$1 }' $(TESTS_FILE))
NORMAL = $(shell awk '{ if (tolower($$2) ~ /^use$$/) print $$1 }' $(TESTS_FILE))
TESTS = $(NORMAL)

all: $(addprefix run-, $(TESTS))
	@echo ALL OK


show:
	@echo $(TESTS)

long:
	$(MAKE) TESTS="$(NORMAL) $(LONG)" all

run-%:
	@./runtest.bat $*