1SUBDIRS = conform
2
3if UNIT_TESTS
4SUBDIRS += unit
5endif
6
7SUBDIRS += micro-perf data
8
9DIST_SUBDIRS = conform unit micro-perf data
10
11EXTRA_DIST = README test-launcher.sh run-tests.sh
12
13if UNIT_TESTS
14test conform:
15	( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
16	( cd ./unit && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
17else
18test conform:
19	( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
20endif
21
22.PHONY: test conform
23
24# run make test as part of make check
25check-local: test
26
27if ENABLE_INSTALLED_TESTS
28insttestdir = $(libexecdir)/installed-tests/muffin-cogl
29insttest_SCRIPTS = run-tests.sh
30insttest_DATA = config.env
31endif
32