diff options
author | Ted Gould <ted@gould.cx> | 2009-12-02 08:37:01 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-02 08:37:01 -0600 |
commit | c986e2ca5d546d434431902c2951ca2d1bc6478c (patch) | |
tree | 043621081240413fa9973bab07164dd9d1b02409 /tests/Makefile.am | |
parent | 0d1af254e912f1982fb4be75acc3cb214b4338ed (diff) | |
parent | de38fc85d228bb2de6de86f31805ad0de748318e (diff) | |
download | libayatana-indicator-c986e2ca5d546d434431902c2951ca2d1bc6478c.tar.gz libayatana-indicator-c986e2ca5d546d434431902c2951ca2d1bc6478c.tar.bz2 libayatana-indicator-c986e2ca5d546d434431902c2951ca2d1bc6478c.zip |
Adding an 'UnWatch' command to the standard DBus interface
for graceful disconnection from a service.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 24 |
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 ############################# |