mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-15 00:36:19 +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;
|
goto next;
|
||||||
if (buffer->str[0] == '@') /* Part */
|
if (buffer->str[0] == '@') /* Part */
|
||||||
{
|
{
|
||||||
fprintf (stderr, "\nProcessing %s\n", buffer->str + 1);
|
g_test_message ("Processing %s", buffer->str + 1);
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user