summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-11-09 17:18:36 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-21 15:15:24 +0000
commit4b31fcf4d4c2d1205bd9133f56e8ca9f6c038046 (patch)
tree4daac9a5460e08ebcc509e0cd0022fccc420feef /test
parent674983689c75a98357823a64d10b14589c1c8349 (diff)
downloaddbus-4b31fcf4d4c2d1205bd9133f56e8ca9f6c038046.tar.gz
Allow a reduced set of installable tests (none yet) to be built without GLib
--enable-modular-tests=auto will build as many as possible, perhaps excluding the GLib ones. --enable-modular-tests=yes or --enable-tests=yes will insist on having GLib, to be able to run everything. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=42811 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 2eca473e..8457fcd1 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -100,6 +100,10 @@ testexecdir = $(libdir)/dbus-1.0/test
testexec_PROGRAMS =
installable_tests = \
+ $(NULL)
+
+if DBUS_WITH_GLIB
+installable_tests += \
test-corrupt \
test-dbus-daemon \
test-dbus-daemon-eavesdrop \
@@ -109,6 +113,7 @@ installable_tests = \
test-relay \
test-syslog \
$(NULL)
+endif DBUS_WITH_GLIB
installcheck_tests =
installcheck_environment = \