diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-06 19:12:45 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-06 19:12:45 +0000 |
commit | bc8b061eec0fd9de6552a9e6118c40283863b6dc (patch) | |
tree | 473a4986783581d1b69364173fa48ee9ce8d505d /dbus/dbus-test.c | |
parent | 6d54407dbb089dd0b0d8d79189b029c4d82bae81 (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.c | 3 |
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"); |