mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
5e26d17ea7
Install the conformance tests, and metadata to run them with gnome-desktop-testing-runner. https://bugzilla.gnome.org/show_bug.cgi?id=702942 Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 53f3eb421239982b69569ad03ccbfa4b4f601cf3)
32 lines
636 B
Makefile
32 lines
636 B
Makefile
SUBDIRS = conform
|
|
|
|
if UNIT_TESTS
|
|
SUBDIRS += unit
|
|
endif
|
|
|
|
SUBDIRS += micro-perf data
|
|
|
|
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
|
|
test conform:
|
|
( cd ./conform && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $$?
|
|
endif
|
|
|
|
.PHONY: test conform
|
|
|
|
# run make test as part of make check
|
|
check-local: test
|
|
|
|
if ENABLE_INSTALLED_TESTS
|
|
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
|
insttest_SCRIPTS = run-tests.sh
|
|
insttest_DATA = config.env
|
|
endif
|