2013-05-30 08:22:22 -04:00
|
|
|
SUBDIRS = conform
|
2011-05-05 18:34:38 -04:00
|
|
|
|
2013-05-30 08:22:22 -04:00
|
|
|
if UNIT_TESTS
|
|
|
|
SUBDIRS += unit
|
|
|
|
endif
|
2011-05-05 18:34:38 -04:00
|
|
|
|
2018-08-08 16:09:55 -04:00
|
|
|
SUBDIRS += data
|
2011-05-05 18:34:38 -04:00
|
|
|
|
2018-08-08 16:09:55 -04:00
|
|
|
DIST_SUBDIRS = conform unit data
|
2013-05-30 08:22:22 -04:00
|
|
|
|
|
|
|
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 18:34:38 -04:00
|
|
|
test conform:
|
|
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
2013-05-30 08:22:22 -04:00
|
|
|
endif
|
2011-05-05 18:34:38 -04:00
|
|
|
|
2012-02-23 07:30:51 -05:00
|
|
|
.PHONY: test conform
|
2011-05-05 18:34:38 -04:00
|
|
|
|
|
|
|
# run make test as part of make check
|
|
|
|
check-local: test
|
2013-06-23 23:33:05 -04:00
|
|
|
|
|
|
|
if ENABLE_INSTALLED_TESTS
|
2016-04-29 07:16:30 -04:00
|
|
|
insttestdir = $(libexecdir)/installed-tests/mutter-cogl
|
2013-06-23 23:33:05 -04:00
|
|
|
insttest_SCRIPTS = run-tests.sh
|
|
|
|
insttest_DATA = config.env
|
|
|
|
endif
|