tests: run mutter-test tools with G_TEST_* env variables

Set test srcdir and builddir to the absolute paths
This commit is contained in:
Jonas Ådahl 2018-06-29 22:16:40 +02:00 committed by Marco Trevisan (Treviño)
parent 2383801f7b
commit cbc783108e

View File

@ -72,6 +72,9 @@ mutter_test_headless_start_test_LDADD = $(MUTTER_LIBS) libmutter-$(LIBMUTTER_API
.PHONY: run-tests run-test-runner-tests run-unit-tests run-headless-start-test .PHONY: run-tests run-test-runner-tests run-unit-tests run-headless-start-test
export G_TEST_SRCDIR = $(abs_srcdir)
export G_TEST_BUILDDIR = $(abs_builddir)
run-test-runner-tests: mutter-test-client mutter-test-runner run-test-runner-tests: mutter-test-client mutter-test-runner
./mutter-test-runner $(dist_stacking_DATA) ./mutter-test-runner $(dist_stacking_DATA)