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



commit cbc783108e6834fb1ebcf2dcc01e2dc33e3d0b71
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Jun 29 22:16:40 2018 +0200

    tests: run mutter-test tools with G_TEST_* env variables
    
    Set test srcdir and builddir to the absolute paths

 src/Makefile-tests.am | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/Makefile-tests.am b/src/Makefile-tests.am
index 72706e2bd..244983ff5 100644
--- a/src/Makefile-tests.am
+++ b/src/Makefile-tests.am
@@ -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
 
+export G_TEST_SRCDIR = $(abs_srcdir)
+export G_TEST_BUILDDIR = $(abs_builddir)
+
 run-test-runner-tests: mutter-test-client mutter-test-runner
        ./mutter-test-runner $(dist_stacking_DATA)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]