summaryrefslogtreecommitdiff
path: root/bus/signals.c
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-28 16:24:37 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-28 12:13:28 +0100
commitdb2757f8127fcf9208ea70273904ac78fcd6bd64 (patch)
tree5024956f6e5ae00ef57cdd53c072f876f644f39e /bus/signals.c
parentdec9025626e556e58e2dbfbb9eacea17e70ce87b (diff)
downloaddbus-db2757f8127fcf9208ea70273904ac78fcd6bd64.tar.gz
tests to embedded tests: replaced in dbus-daemon
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 'bus/signals.c')
-rw-r--r--bus/signals.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bus/signals.c b/bus/signals.c
index 28506d3f..72487edd 100644
--- a/bus/signals.c
+++ b/bus/signals.c
@@ -64,7 +64,7 @@ bus_match_rule_new (DBusConnection *matches_go_to)
rule->refcount = 1;
rule->matches_go_to = matches_go_to;
-#ifndef DBUS_BUILD_TESTS
+#ifndef DBUS_ENABLE_EMBEDDED_TESTS
_dbus_assert (rule->matches_go_to != NULL);
#endif
@@ -2056,7 +2056,7 @@ bus_matchmaker_get_recipients (BusMatchmaker *matchmaker,
return TRUE;
}
-#ifdef DBUS_BUILD_TESTS
+#ifdef DBUS_ENABLE_EMBEDDED_TESTS
#include "test.h"
#include <stdlib.h>
@@ -2811,5 +2811,5 @@ bus_signals_test (const DBusString *test_data_dir)
return TRUE;
}
-#endif /* DBUS_BUILD_TESTS */
+#endif /* DBUS_ENABLE_EMBEDDED_TESTS */