aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
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 485d02e..dd047d3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,6 +3,7 @@ DISTCLEANFILES =
check_PROGRAMS = \
test-loader \
+ service-manager-no-connect \
service-shutdown-timeout
lib_LTLIBRARIES = \
@@ -105,6 +106,29 @@ TESTS += service-shutdown-timeout-tester
DISTCLEANFILES += service-shutdown-timeout-tester
#############################
+# Service Manager No Connect
+#############################
+
+service_manager_no_connect_SOURCES = \
+ service-manager-no-connect.c
+
+service_manager_no_connect_CFLAGS = \
+ -Wall -Werror \
+ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
+
+service_manager_no_connect_LDADD = \
+ $(LIBINDICATOR_LIBS) \
+ $(top_builddir)/libindicator/.libs/libindicator.a
+
+service-manager-no-connect-tester: service-manager-no-connect Makefile
+ @echo "#!/bin/sh" > service-manager-no-connect-tester
+ @echo $(DBUS_RUNNER) --task ./service-manager-no-connect >> service-manager-no-connect-tester
+ @chmod +x service-manager-no-connect-tester
+
+TESTS += service-manager-no-connect-tester
+DISTCLEANFILES += service-manager-no-connect-tester
+
+#############################
# Test stuff
#############################