tests: move common dbus test-runners to tools/ directory
authorThomas Haller <thaller@redhat.com>
Fri, 22 Jan 2016 14:49:05 +0000 (15:49 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 22 Jan 2016 15:52:41 +0000 (16:52 +0100)
libnm-glib/tests/Makefile.am
libnm/tests/Makefile.am
libnm/tests/libnm-test-launch.sh [deleted file]
tools/Makefile.am
tools/run-test-dbus-session.sh [moved from libnm-glib/tests/libnm-glib-test-launch.sh with 100% similarity]

index a1b25f6..138b2b3 100644 (file)
@@ -17,7 +17,7 @@ noinst_PROGRAMS = $(TESTS)
 if WITH_VALGRIND
 @VALGRIND_RULES@ --launch-dbus
 else
-LOG_COMPILER = $(srcdir)/libnm-glib-test-launch.sh
+LOG_COMPILER = $(top_srcdir)/tools/run-test-dbus-session.sh
 endif
 TESTS = test-nm-client test-remote-settings-client
 
@@ -50,5 +50,3 @@ test_remote_settings_client_LDADD = \
 ###########################################
 
 endif
-
-EXTRA_DIST = libnm-glib-test-launch.sh
index ddcf50b..fd9edb6 100644 (file)
@@ -21,7 +21,7 @@ noinst_PROGRAMS = $(TESTS)
 if WITH_VALGRIND
 @VALGRIND_RULES@ --launch-dbus
 else
-LOG_COMPILER = $(srcdir)/libnm-test-launch.sh
+LOG_COMPILER = $(top_srcdir)/tools/run-test-dbus-session.sh
 endif
 TESTS = test-nm-client test-remote-settings-client test-secret-agent
 
@@ -40,5 +40,3 @@ test_secret_agent_SOURCES = \
        $(top_builddir)/shared/nm-test-libnm-utils.h \
        test-secret-agent.c
 endif
-
-EXTRA_DIST = libnm-test-launch.sh
diff --git a/libnm/tests/libnm-test-launch.sh b/libnm/tests/libnm-test-launch.sh
deleted file mode 100755 (executable)
index 1064e41..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-dbus-run-session -- "$@"
index f008956..27d6bcc 100644 (file)
@@ -3,5 +3,6 @@ EXTRA_DIST = \
        debug-helper.py \
        doc-generator.xsl \
        run-test-valgrind.sh \
+       run-test-dbus-session.sh \
        test-networkmanager-service.py \
        test-sudo-wrapper.sh