diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2019-03-23 22:18:11 +0200 |
---|---|---|
committer | Topi Miettinen <toiwoton@gmail.com> | 2019-03-25 21:51:33 +0200 |
commit | 94b5b236aa0743bacb2139c62d5a6e0143845634 (patch) | |
tree | e831a75a07afd47bc9fcfb140595de56c193e431 /test/Makefile.am | |
parent | df9cb47c3aa28a385bd6254b80f1e55c66321071 (diff) | |
download | dbus-94b5b236aa0743bacb2139c62d5a6e0143845634.tar.gz |
Configure option to disable traditional activation
Traditional activation could be disabled if all services use
SystemdService activation instead. Provide an example of a hardened
DBus systemd service drop-in file for such a setup.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r-- | test/Makefile.am | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 95a4592f..27d19460 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -67,7 +67,6 @@ uninstallable_test_programs = ## break-loader removed for now ## these binaries are used in tests but are not themselves tests TEST_BINARIES = \ - test-spawn \ test-exit \ test-names \ test-privserver \ @@ -76,7 +75,13 @@ TEST_BINARIES = \ $(NULL) if !DBUS_WINCE +if ENABLE_TRADITIONAL_ACTIVATION uninstallable_test_programs += test-spawn-oom +endif ENABLE_TRADITIONAL_ACTIVATION +endif !DBUS_WINCE + +if ENABLE_TRADITIONAL_ACTIVATION +TEST_BINARIES += test-spawn endif uninstallable_test_programs += \ @@ -90,11 +95,13 @@ uninstallable_test_programs += \ $(NULL) if DBUS_UNIX +if ENABLE_TRADITIONAL_ACTIVATION uninstallable_test_programs += test-bus-launch-helper-oom uninstallable_test_programs += test-bus-system # this is used by the tests but is not, itself, a test TEST_BINARIES += dbus-daemon-launch-helper-for-tests -endif +endif ENABLE_TRADITIONAL_ACTIVATION +endif DBUS_UNIX noinst_PROGRAMS += $(uninstallable_test_programs) TESTS += $(uninstallable_test_programs) @@ -120,10 +127,13 @@ test_privserver_LDADD = libdbus-testutils.la test_shell_service_LDADD = libdbus-testutils.la test_shell_SOURCES = shell-test.c test_shell_LDADD = libdbus-testutils.la + +if ENABLE_TRADITIONAL_ACTIVATION test_spawn_SOURCES = spawn-test.c test_spawn_LDADD = $(top_builddir)/dbus/libdbus-internal.la test_spawn_oom_SOURCES = internals/spawn-oom.c test_spawn_oom_LDADD = libdbus-testutils.la +endif test_assertions_SOURCES = internals/assertions.c test_assertions_LDADD = libdbus-testutils.la $(GLIB_LIBS) |