From 385e783648e0a477f0957d45791dbb60df67468d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 29 Apr 2017 23:07:55 +0000 Subject: Avoid crash during test runs. Don't initialize new NMClient instance during unit tests. --- tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 9a34654..7927598 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -15,6 +15,7 @@ TESTS = \ SERVER_XML_REPORT = server-test.xml server-tester: server-test Makefile.am @echo "#!/bin/bash" > $@ + @echo export DBUS_TEST_RUNNER=1 >> $@ @echo gtester --verbose -k -o $(SERVER_XML_REPORT) $(abs_builddir)/server-test >> $@ @chmod +x $@ -- cgit v1.2.3