summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-test.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-06 19:12:45 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-06 19:12:45 +0000
commitbc8b061eec0fd9de6552a9e6118c40283863b6dc (patch)
tree473a4986783581d1b69364173fa48ee9ce8d505d /dbus/dbus-test.c
parent6d54407dbb089dd0b0d8d79189b029c4d82bae81 (diff)
2003-04-06 Havoc Pennington <hp@pobox.com>
* dbus/dbus-threads.c: Redo how the fake debug mutexes are done so it detects deadlocks and also we actually init threads when debugging.
Diffstat (limited to 'dbus/dbus-test.c')
-rw-r--r--dbus/dbus-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c
index 76776a95..19d6d7cd 100644
--- a/dbus/dbus-test.c
+++ b/dbus/dbus-test.c
@@ -65,6 +65,9 @@ void
dbus_internal_do_not_use_run_tests (const char *test_data_dir)
{
#ifdef DBUS_BUILD_TESTS
+ if (!_dbus_threads_init_debug ())
+ die ("debug threads init");
+
if (test_data_dir == NULL)
test_data_dir = _dbus_getenv ("DBUS_TEST_DATA");