summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-28 16:26:27 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-28 12:14:00 +0100
commit11c5dc126e5ad21a4a72fd15700b19dd937b053a (patch)
tree633219b1f783e6c82592d0715e6eb3d89e8072e9 /tools
parentdb2757f8127fcf9208ea70273904ac78fcd6bd64 (diff)
downloaddbus-11c5dc126e5ad21a4a72fd15700b19dd937b053a.tar.gz
tests to embedded tests: replaced in tools
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66291
Diffstat (limited to 'tools')
-rw-r--r--tools/dbus-launch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index 80e1419d..ea24f5ce 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -1106,7 +1106,7 @@ main (int argc, char **argv)
verbose ("Calling exec()\n");
-#ifdef DBUS_BUILD_TESTS
+#ifdef DBUS_ENABLE_EMBEDDED_TESTS
/* exec from testdir */
if (getenv("DBUS_USE_TEST_BINARY") != NULL)
{
@@ -1123,7 +1123,7 @@ main (int argc, char **argv)
"Failed to execute test message bus daemon %s: %s. Will try again with the system path.\n",
TEST_BUS_BINARY, strerror (errno));
}
- #endif /* DBUS_BUILD_TESTS */
+ #endif /* DBUS_ENABLE_EMBEDDED_TESTS */
execl (DBUS_DAEMONDIR"/dbus-daemon",
DBUS_DAEMONDIR"/dbus-daemon",