aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
blob: 1f374450102de504b8b1e92178b44b148d74486f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
check:
	$(MAKE) -f scripts/makefile check

.DEFAULT:
	$(MAKE) -f scripts/makefile $<

SOURCES	!= echo */source.mk
DO	!= echo -n > tests.mk && rm -rf reports

SIMPLE :=
SIMPLE_XFAIL :=

include $(SOURCES)

# pass through xargs to 'trick' it into expanding each SIMPLE_XFAIL into a
# separate argument for the script, as make would otherwise just split at each space
# this way we can pass spaces as arguments to the generator scripts, pretty neat
# huh?
DO	!= echo "$(SIMPLE)" | xargs ./scripts/gen-simple
DO	!= echo "$(SIMPLE_XFAIL)" | xargs ./scripts/gen-simple-xfail

RM	?= rm

.PHONY: clean
clean:
	$(RM) -rf reports