testutils: Factor out g_test_disable_crash_reporting()

We're already repeating this in 4 places, and in a subsequent commit
I'll extend it to do more.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2023-07-24 17:06:50 +01:00
parent e051f4abaf
commit be2c9220d6
5 changed files with 29 additions and 26 deletions

View File

@@ -3359,6 +3359,7 @@ g_test_trap_assert_stdout_unmatched
g_test_trap_assert_stderr
g_test_trap_assert_stderr_unmatched
g_test_trap_fork
g_test_disable_crash_reporting
g_test_rand_bit
g_test_rand_int