test/Makefile.am: list tests one per line
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 6 Jun 2011 14:01:52 +0000 (15:01 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 18 Jul 2011 18:14:49 +0000 (19:14 +0100)
This improves clarity, and makes conflicts less likely and merges more
obviously correct.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
test/Makefile.am

index 99740c9..d537321 100644 (file)
@@ -13,15 +13,29 @@ 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
-TEST_BINARIES=test-service test-names test-shell-service shell-test spawn-test test-segfault test-exit test-sleep-forever
+TEST_BINARIES = \
+       shell-test \
+       spawn-test \
+       test-exit \
+       test-names \
+       test-segfault \
+       test-service \
+       test-shell-service \
+       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
-else
+TESTS = \
+       shell-test \
+       $(NULL)
+
+else !DBUS_BUILD_TESTS
+
 TEST_BINARIES=
 TESTS=
-endif
+
+endif !DBUS_BUILD_TESTS
 
 noinst_PROGRAMS= $(TEST_BINARIES)