[dbus PATCH 3/3] tests: Use AM_TESTS_ENVIRONMENT

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

 



According to the documentation[1], TESTS_ENVIRONMENT
is reserved for the user, which means we shouldn't be
using it.

AM_TESTS_ENVIRONMENT needs to be terminated with a
semicolon, so do that; that requires exporting the
variables instead of merely declaring them as well.

[1] https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 tests/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 81cb263..e27a24a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,5 +36,5 @@ EXTRA_DIST = \
 
 TESTS = $(test_programs)
 
-TESTS_ENVIRONMENT = \
-	VIRT_DBUS_INTERFACES_DIR=$(abs_top_builddir)/data
+AM_TESTS_ENVIRONMENT = \
+	export VIRT_DBUS_INTERFACES_DIR=$(abs_top_builddir)/data;
-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux