Changes the behaviour of the various assertion macros.
The g_assert_*() macros, g_test_assert_expected_messages()
and the various g_test_trap_assert_*() macros are changed
to not abort to program.
Instead, they will call GLib.test_fail and continue.
(This also changes the behavior of GLib.test_fail so that
it will not cause the test program to abort after completing
the failed test.)
Note that the GLib.assert_not_reached and GLib.assert
macros are not affected by this.
This function can only be called after GLib.test_init.
Changes the behaviour of the various assertion macros.
The
g_assert_*()macros,g_test_assert_expected_messages()and the variousg_test_trap_assert_*()macros are changed to not abort to program.Instead, they will call GLib.test_fail and continue. (This also changes the behavior of GLib.test_fail so that it will not cause the test program to abort after completing the failed test.)
Note that the GLib.assert_not_reached and GLib.assert macros are not affected by this.
This function can only be called after GLib.test_init.