summaryrefslogtreecommitdiff
path: root/dbus/dbus-hash.c
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-28 16:25:54 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-28 12:15:53 +0100
commit4df8738794422c216b25e1bc1bbc80654c948c5d (patch)
tree31e1f5bf170fdb3b8d4dc1874beb6f2a10793e18 /dbus/dbus-hash.c
parent11c5dc126e5ad21a4a72fd15700b19dd937b053a (diff)
downloaddbus-4df8738794422c216b25e1bc1bbc80654c948c5d.tar.gz
tests to embedded tests: replaced in libdbus
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 'dbus/dbus-hash.c')
-rw-r--r--dbus/dbus-hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-hash.c b/dbus/dbus-hash.c
index c4c6f935..c80835aa 100644
--- a/dbus/dbus-hash.c
+++ b/dbus/dbus-hash.c
@@ -1401,7 +1401,7 @@ _dbus_hash_table_get_n_entries (DBusHashTable *table)
/** @} */
-#ifdef DBUS_BUILD_TESTS
+#ifdef DBUS_ENABLE_EMBEDDED_TESTS
#include "dbus-test.h"
#include <stdio.h>
@@ -1828,4 +1828,4 @@ _dbus_hash_test (void)
return ret;
}
-#endif /* DBUS_BUILD_TESTS */
+#endif /* DBUS_ENABLE_EMBEDDED_TESTS */