From bc8b061eec0fd9de6552a9e6118c40283863b6dc Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 6 Apr 2003 19:12:45 +0000 Subject: 2003-04-06 Havoc Pennington * dbus/dbus-threads.c: Redo how the fake debug mutexes are done so it detects deadlocks and also we actually init threads when debugging. --- dbus/dbus-test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dbus/dbus-test.c') 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"); -- cgit