]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
name-test: also switch to AM_TESTS_ENVIRONMENT here
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 1 Apr 2015 12:07:36 +0000 (13:07 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 16 Apr 2015 12:06:26 +0000 (13:06 +0100)
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846

test/name-test/Makefile.am

index c6611aa371d9e24287f32bd368475c9ef3ef6307..ad637ecd134878173298fef9f85bf24eab1c06c9 100644 (file)
@@ -11,13 +11,13 @@ AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
 ## so if adding tests not to be run in make check, don't add them to 
 ## TESTS
 if DBUS_ENABLE_EMBEDDED_TESTS
-TESTS_ENVIRONMENT = \
-        DBUS_TOP_BUILDDIR=@abs_top_builddir@ \
-        DBUS_TOP_SRCDIR=@abs_top_srcdir@ \
-        PYTHON=@PYTHON@ \
-        DBUS_TEST_DATA=@abs_top_builddir@/test/data \
-        DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT) \
-        XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR \
+AM_TESTS_ENVIRONMENT = \
+        export DBUS_TOP_BUILDDIR=@abs_top_builddir@; \
+        export DBUS_TOP_SRCDIR=@abs_top_srcdir@; \
+        export PYTHON=@PYTHON@; \
+        export DBUS_TEST_DATA=@abs_top_builddir@/test/data; \
+        export DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT); \
+        export XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR; \
         $(NULL)
 
 TESTS=run-test.sh run-test-systemserver.sh