summaryrefslogtreecommitdiff
path: root/dbus/dbus-keyring.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-keyring.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-keyring.c')
-rw-r--r--dbus/dbus-keyring.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-keyring.c b/dbus/dbus-keyring.c
index 3b9ce315..0e433a8f 100644
--- a/dbus/dbus-keyring.c
+++ b/dbus/dbus-keyring.c
@@ -80,7 +80,7 @@
* Maximum number of keys in the keyring before
* we just ignore the rest
*/
-#ifdef DBUS_BUILD_TESTS
+#ifdef DBUS_ENABLE_EMBEDDED_TESTS
#define MAX_KEYS_IN_FILE 10
#else
#define MAX_KEYS_IN_FILE 256
@@ -1023,7 +1023,7 @@ _dbus_keyring_get_hex_key (DBusKeyring *keyring,
/** @} */ /* end of exposed API */
-#ifdef DBUS_BUILD_TESTS
+#ifdef DBUS_ENABLE_EMBEDDED_TESTS
#include "dbus-test.h"
#include <stdio.h>
@@ -1156,5 +1156,5 @@ _dbus_keyring_test (void)
return FALSE;
}
-#endif /* DBUS_BUILD_TESTS */
+#endif /* DBUS_ENABLE_EMBEDDED_TESTS */