# HG changeset patch # User Richard Laager # Date 1177697803 0 # Node ID 32188b6d2db8a36f7bf94155d2300a9a4c7190d5 # Parent 2da3e5a69ebcac56f1903a9e0835eab7002a033b Use fatal asserts unconditionally in the test code. Perhaps this could be better integrated in some way, but this works. diff -r 2da3e5a69ebc -r 32188b6d2db8 libpurple/tests/check_libpurple.c --- a/libpurple/tests/check_libpurple.c Fri Apr 27 18:07:24 2007 +0000 +++ b/libpurple/tests/check_libpurple.c Fri Apr 27 18:16:43 2007 +0000 @@ -54,7 +54,14 @@ int main(void) { int number_failed; - SRunner *sr = srunner_create (master_suite()); + SRunner *sr; + + /* Make g_return_... functions fatal, ALWAYS. + * As this is the test code, this is NOT controlled + * by PURPLE_FATAL_ASSERTS. */ + g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL); + + sr = srunner_create (master_suite()); srunner_add_suite(sr, cipher_suite()); srunner_add_suite(sr, jabber_jutil_suite());