diff options
-rw-r--r-- | .bzrignore | 1 | ||||
-rw-r--r-- | tests/Makefile.am | 5 | ||||
-rw-r--r-- | tests/service-manager-connect.service.in | 3 |
3 files changed, 8 insertions, 1 deletions
@@ -130,3 +130,4 @@ tests/service-manager-connect tests/service-manager-connect-service tests/service-manager-connect-tester tests/session.conf +tests/service-manager-connect.service diff --git a/tests/Makefile.am b/tests/Makefile.am index 744c807..3703259 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -137,6 +137,9 @@ DISTCLEANFILES += service-manager-no-connect-tester session.conf: session.conf.in Makefile.am sed -e "s|\@servicedir\@|$(abspath $(builddir))|" $< > $@ +service-manager-connect.service: service-manager-connect.service.in Makefile.am + sed -e "s|\@builddir\@|$(abspath $(builddir))|" $< > $@ + service_manager_connect_SOURCES = \ service-manager-connect.c @@ -159,7 +162,7 @@ service_manager_connect_service_LDADD = \ $(LIBINDICATOR_LIBS) \ $(top_builddir)/libindicator/.libs/libindicator.a -service-manager-connect-tester: service-manager-connect service-manager-connect-service session.conf Makefile.am +service-manager-connect-tester: service-manager-connect service-manager-connect-service session.conf service-manager-connect.service Makefile.am @echo "#!/bin/sh" > service-manager-connect-tester @echo dbus-test-runner --dbus-config $(builddir)/session.conf --task ./service-manager-connect >> service-manager-connect-tester @chmod +x service-manager-connect-tester diff --git a/tests/service-manager-connect.service.in b/tests/service-manager-connect.service.in new file mode 100644 index 0000000..7d3da6b --- /dev/null +++ b/tests/service-manager-connect.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.ayatana.test +Exec=@builddir@/service-manager-connect-service |