test-autolaunch is only known to work in launchd environments.
authorMike McQuaid <mike@mikemcquaid.com>
Sat, 4 Dec 2010 22:47:35 +0000 (23:47 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Sat, 4 Dec 2010 22:47:35 +0000 (23:47 +0100)
test/name-test/Makefile.am

index 1b5722b..a3c5166 100644 (file)
@@ -16,7 +16,11 @@ if DBUS_BUILD_TESTS
 
 ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
 ## build even when not doing "make check"
-noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch
+noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client
+
+if DBUS_ENABLE_LAUNCHD
+noinst_PROGRAMS+=test-autolaunch
+endif
 
 test_names_SOURCES=                            \
        test-names.c