From: Simon McVittie Date: Mon, 6 Jun 2011 14:57:45 +0000 (+0100) Subject: dbus tests: don't warn on skipped tests X-Git-Tag: dbus-1.4.14~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68b17dbb4c982685a201fc1be641b07857ba7713;p=thirdparty%2Fdbus.git dbus tests: don't warn on skipped tests We should treat _dbus_warn as fatal when we run tests, like bus/ does. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson --- diff --git a/dbus/dbus-message-util.c b/dbus/dbus-message-util.c index e06886a1d..f78595203 100644 --- a/dbus/dbus-message-util.c +++ b/dbus/dbus-message-util.c @@ -619,8 +619,8 @@ process_test_subdir (const DBusString *test_base_dir, { if (_dbus_string_ends_with_c_str (&filename, ".message")) { - _dbus_warn ("Could not load %s, message builder language no longer supported\n", - _dbus_string_get_const_data (&filename)); + printf ("SKIP: Could not load %s, message builder language no longer supported\n", + _dbus_string_get_const_data (&filename)); } _dbus_verbose ("Skipping non-.message file %s\n", diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index deb4c9326..1fbaf8c8f 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -135,7 +135,7 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci check_memleaks (); #else - _dbus_warn ("recursive marshal tests disabled\n"); + printf ("SKIP: recursive marshal tests disabled\n"); #endif run_test ("byteswap", specific_test, _dbus_marshal_byteswap_test);