aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-02 08:35:41 -0600
committerTed Gould <ted@gould.cx>2009-12-02 08:35:41 -0600
commitde38fc85d228bb2de6de86f31805ad0de748318e (patch)
treeb66887f0803fae080c31cc2533f1ad36f89f7f5e /tests/Makefile.am
parentad2ef4d35017d674caecc65ccde4e500b0740982 (diff)
parentb7864d8626cd5bdde3fe94f2086d9a1cfdb66a49 (diff)
downloadlibayatana-indicator-de38fc85d228bb2de6de86f31805ad0de748318e.tar.gz
libayatana-indicator-de38fc85d228bb2de6de86f31805ad0de748318e.tar.bz2
libayatana-indicator-de38fc85d228bb2de6de86f31805ad0de748318e.zip
Adding an unwatch command to allow for graceful disconnection from a service if we're not interested in it.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 80c4191..09a227d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -6,6 +6,7 @@ check_PROGRAMS = \
service-manager-no-connect \
service-manager-connect \
service-manager-connect-service \
+ service-manager-nostart-connect \
service-shutdown-timeout
lib_LTLIBRARIES = \
@@ -200,6 +201,29 @@ TESTS += service-manager-connect-tester
DISTCLEANFILES += service-manager-connect-tester session.conf service-manager-connect.service
#############################
+# Service Manager Shutdown
+#############################
+
+service_manager_nostart_connect_SOURCES = \
+ service-manager-nostart-connect.c
+
+service_manager_nostart_connect_CFLAGS = \
+ -Wall -Werror \
+ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
+
+service_manager_nostart_connect_LDADD = \
+ $(LIBINDICATOR_LIBS) \
+ $(top_builddir)/libindicator/.libs/libindicator.a
+
+service-manager-connect-nostart-tester: service-manager-nostart-connect service-manager-connect-service Makefile.am
+ @echo "#!/bin/sh" > $@
+ @echo dbus-test-runner --task ./service-manager-nostart-connect --task ./service-manager-connect-service >> $@
+ @chmod +x $@
+
+TESTS += service-manager-connect-nostart-tester
+DISTCLEANFILES += service-manager-connect-nostart-tester
+
+#############################
# Test stuff
#############################