diff options
Diffstat (limited to 'glib/tests/win32.c')
-rw-r--r-- | glib/tests/win32.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/glib/tests/win32.c b/glib/tests/win32.c index 121997311..748692d65 100644 --- a/glib/tests/win32.c +++ b/glib/tests/win32.c @@ -1,6 +1,8 @@ /* Unit test for VEH on Windows * Copyright (C) 2019 Руслан Ижбулатов * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. @@ -99,7 +101,8 @@ test_veh_crash_access_violation (void) { g_unsetenv ("G_DEBUGGER"); /* Run a test that crashes */ - g_test_trap_subprocess ("/win32/subprocess/access_violation", 0, 0); + g_test_trap_subprocess ("/win32/subprocess/access_violation", 0, + G_TEST_SUBPROCESS_DEFAULT); g_test_trap_assert_failed (); } @@ -108,7 +111,8 @@ test_veh_crash_illegal_instruction (void) { g_unsetenv ("G_DEBUGGER"); /* Run a test that crashes */ - g_test_trap_subprocess ("/win32/subprocess/illegal_instruction", 0, 0); + g_test_trap_subprocess ("/win32/subprocess/illegal_instruction", 0, + G_TEST_SUBPROCESS_DEFAULT); g_test_trap_assert_failed (); } @@ -125,7 +129,8 @@ test_veh_debug (void) g_setenv ("G_DEBUGGER_OLD_CONSOLE", "1", TRUE); g_free (command); /* Run a test that crashes and runs a debugger */ - g_test_trap_subprocess ("/win32/subprocess/debuggee", 0, 0); + g_test_trap_subprocess ("/win32/subprocess/debuggee", 0, + G_TEST_SUBPROCESS_DEFAULT); g_test_trap_assert_failed (); g_test_trap_assert_stderr ("Debugger invoked, attaching to*"); } |