mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
tests: Add a test print to spawn-test on Windows
To try and debug why the following assert sometimes fails on `msys2-clang64`, such as in this job: https://gitlab.gnome.org/GNOME/glib/-/jobs/2515166. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1371
This commit is contained in:
parent
438006899e
commit
42b8929407
@ -123,6 +123,7 @@ test_spawn_basics (void)
|
||||
#else
|
||||
{
|
||||
gchar *file_not_found_message = g_win32_error_message (ERROR_FILE_NOT_FOUND);
|
||||
g_test_message ("sort output: %s\nExpected message: %s", erroutput, file_not_found_message);
|
||||
g_assert_nonnull (strstr (erroutput, file_not_found_message));
|
||||
g_free (file_not_found_message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user