mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
tests: Use g_test_message() rather than fprintf()
This ensures that the output is redirected properly, and prefixed with `#` when outputting in TAP mode, so that it doesn’t confuse the TAP format parser. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
ba9620f947
commit
df80a224d7
@ -121,7 +121,7 @@ test_unicode_normalize (void)
|
||||
goto next;
|
||||
if (buffer->str[0] == '@') /* Part */
|
||||
{
|
||||
fprintf (stderr, "\nProcessing %s\n", buffer->str + 1);
|
||||
g_test_message ("Processing %s", buffer->str + 1);
|
||||
goto next;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user