projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[daemon-fix] Registering starters: unwanted release_kdbus_name when no error was...
[platform/upstream/dbus.git]
/
dbus
/
dbus-test.c
diff --git
a/dbus/dbus-test.c
b/dbus/dbus-test.c
index
02eaf89
..
b707ee2
100644
(file)
--- a/
dbus/dbus-test.c
+++ b/
dbus/dbus-test.c
@@
-28,7
+28,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#ifdef DBUS_
BUIL
D_TESTS
+#ifdef DBUS_
ENABLE_EMBEDDE
D_TESTS
static void
die (const char *failure)
{
static void
die (const char *failure)
{
@@
-84,7
+84,7
@@
run_data_test (const char *test_name,
}
}
}
}
-#endif /* DBUS_
BUIL
D_TESTS */
+#endif /* DBUS_
ENABLE_EMBEDDE
D_TESTS */
/**
* An exported symbol to be run in order to execute
/**
* An exported symbol to be run in order to execute
@@
-94,11
+94,12
@@
run_data_test (const char *test_name,
* (with --enable-tests=no)
*
* @param test_data_dir the directory with test data (test/data normally)
* (with --enable-tests=no)
*
* @param test_data_dir the directory with test data (test/data normally)
+ * @param specific_test run specific test or #NULL to run all tests
*/
void
dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *specific_test)
{
*/
void
dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *specific_test)
{
-#ifdef DBUS_
BUIL
D_TESTS
+#ifdef DBUS_
ENABLE_EMBEDDE
D_TESTS
if (!_dbus_threads_init_debug ())
die ("debug threads init");
if (!_dbus_threads_init_debug ())
die ("debug threads init");
@@
-154,6
+155,8
@@
dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci
#ifdef DBUS_UNIX
run_data_test ("userdb", specific_test, _dbus_userdb_test, test_data_dir);
#ifdef DBUS_UNIX
run_data_test ("userdb", specific_test, _dbus_userdb_test, test_data_dir);
+
+ run_test ("transport-unix", specific_test, _dbus_transport_unix_test);
#endif
run_test ("keyring", specific_test, _dbus_keyring_test);
#endif
run_test ("keyring", specific_test, _dbus_keyring_test);