summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 7bd345ef5ae7d1b1e70f3b2a5e01d3b4492a68e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUBDIRS = src xts5

# Helper target to force generation of tetexec.cfg
.PHONY: tetexec.cfg
tetexec.cfg:
	@rm -f xts5/$@
	@cd xts5 && $(MAKE) $(AM_MAKEFLAGS) $@

# "make check" testing. Override the test set with scenario.
scenario =
check-local: check.sh
	@if test -z "$$DISPLAY"; then \
		echo "DISPLAY not set"; \
		exit 1; \
	fi
	$(SHELL) $(builddir)/check.sh $(scenario)

# Helper target for testing subsets (test-Xopen, etc.)
test-%:
	@$(MAKE) $(AM_MAKEFLAGS) check scenario='$*'