2013-05-30 12:22:22 +00:00
|
|
|
SUBDIRS = conform
|
2011-05-05 22:34:38 +00:00
|
|
|
|
2013-05-30 12:22:22 +00:00
|
|
|
if UNIT_TESTS
|
|
|
|
SUBDIRS += unit
|
|
|
|
endif
|
2011-05-05 22:34:38 +00:00
|
|
|
|
2013-05-30 12:22:22 +00:00
|
|
|
SUBDIRS += micro-perf data
|
2011-05-05 22:34:38 +00:00
|
|
|
|
2013-05-30 12:22:22 +00:00
|
|
|
DIST_SUBDIRS = conform unit micro-perf data
|
|
|
|
|
|
|
|
EXTRA_DIST = README test-launcher.sh run-tests.sh
|
|
|
|
|
|
|
|
if UNIT_TESTS
|
|
|
|
test conform:
|
|
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
|
|
( cd ./unit && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
|
|
else
|
2011-05-05 22:34:38 +00:00
|
|
|
test conform:
|
|
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
2013-05-30 12:22:22 +00:00
|
|
|
endif
|
2011-05-05 22:34:38 +00:00
|
|
|
|
2012-02-23 12:30:51 +00:00
|
|
|
.PHONY: test conform
|
2011-05-05 22:34:38 +00:00
|
|
|
|
|
|
|
# run make test as part of make check
|
|
|
|
check-local: test
|
2013-06-24 03:33:05 +00:00
|
|
|
|
|
|
|
if ENABLE_INSTALLED_TESTS
|
2016-04-29 11:16:30 +00:00
|
|
|
insttestdir = $(libexecdir)/installed-tests/mutter-cogl
|
2013-06-24 03:33:05 +00:00
|
|
|
insttest_SCRIPTS = run-tests.sh
|
|
|
|
insttest_DATA = config.env
|
|
|
|
endif
|