Mark shell-test as modular and installable
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 9 Nov 2011 17:19:19 +0000 (17:19 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Feb 2012 15:15:28 +0000 (15:15 +0000)
This test needs non-public API and so is statically linked, but is OK
to install.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=42811
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/Makefile.am

index 8457fcd..f2abe28 100644 (file)
@@ -32,9 +32,8 @@ noinst_LTLIBRARIES = libdbus-testutils.la
 
 if DBUS_BUILD_TESTS
 ## break-loader removed for now
-## most of these binaries are used in tests but are not themselves tests
+## these binaries are used in tests but are not themselves tests
 TEST_BINARIES = \
-       shell-test \
        spawn-test \
        test-exit \
        test-names \
@@ -44,16 +43,10 @@ TEST_BINARIES = \
        test-sleep-forever \
        $(NULL)
 
-## these are the things to run in make check (i.e. they are actual tests)
-## (binaries in here must also be in TEST_BINARIES)
-TESTS = \
-       shell-test \
-       $(NULL)
-
 ## These are conceptually part of directories that come earlier in SUBDIRS
 ## order, but we don't want to run them til we arrive in this directory,
 ## since they depend on stuff from this directory
-TESTS += \
+TESTS = \
        ../bus/bus-test$(EXEEXT) \
        ../bus/bus-test-system$(EXEEXT) \
        ../dbus/dbus-test$(EXEEXT) \
@@ -100,6 +93,7 @@ testexecdir = $(libdir)/dbus-1.0/test
 testexec_PROGRAMS =
 
 installable_tests = \
+       shell-test \
        $(NULL)
 
 if DBUS_WITH_GLIB