aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-29 23:07:55 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-29 23:07:55 +0000
commit385e783648e0a477f0957d45791dbb60df67468d (patch)
tree17698e79482339b37aad4e0a0f03fee5e17207b0 /tests
parent9c4e4c081521f2c8b7ccc028938fc9a4664df560 (diff)
downloadremote-logon-service-385e783648e0a477f0957d45791dbb60df67468d.tar.gz
remote-logon-service-385e783648e0a477f0957d45791dbb60df67468d.tar.bz2
remote-logon-service-385e783648e0a477f0957d45791dbb60df67468d.zip
Avoid crash during test runs. Don't initialize new NMClient instance during unit tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
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 $@