summaryrefslogtreecommitdiff
path: root/bus/expirelist.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/expirelist.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/expirelist.c')
-rw-r--r--bus/expirelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bus/expirelist.c b/bus/expirelist.c
index 1a12ea45..9a3886e9 100644
--- a/bus/expirelist.c
+++ b/bus/expirelist.c
@@ -281,7 +281,7 @@ bus_expire_list_contains_item (BusExpireList *list,
return _dbus_list_find_last (&list->items, item) != NULL;
}
-#ifdef DBUS_BUILD_TESTS
+#ifdef DBUS_ENABLE_EMBEDDED_TESTS
typedef struct
{
@@ -399,4 +399,4 @@ bus_expire_list_test (const DBusString *test_data_dir)
return result;
}
-#endif /* DBUS_BUILD_TESTS */
+#endif /* DBUS_ENABLE_EMBEDDED_TESTS */