From: Chengwei Yang Date: Fri, 28 Jun 2013 08:26:27 +0000 (+0800) Subject: tests to embedded tests: replaced in tools X-Git-Tag: dbus-1.7.6~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11c5dc126e5ad21a4a72fd15700b19dd937b053a;p=thirdparty%2Fdbus.git tests to embedded tests: replaced in tools Signed-off-by: Chengwei Yang Reviewed-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66291 --- diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 80e1419d6..ea24f5ce5 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",