mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gsettings: Skip tests in the proper way
This will make TAP happier in reporting what's wrong
This commit is contained in:
parent
03f5d0b060
commit
6a4f6c593c
@ -798,7 +798,9 @@ test_l10n (void)
|
||||
str = NULL;
|
||||
}
|
||||
else
|
||||
g_printerr ("warning: translation is not working... skipping test. ");
|
||||
{
|
||||
g_test_skip ("translation is not working");
|
||||
}
|
||||
|
||||
g_setenv ("LC_MESSAGES", locale, TRUE);
|
||||
setlocale (LC_MESSAGES, locale);
|
||||
@ -843,7 +845,7 @@ test_l10n_context (void)
|
||||
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
|
||||
settings_assert_cmpstr (settings, "backspace", ==, "Löschen");
|
||||
else
|
||||
g_printerr ("warning: translation is not working... skipping test. ");
|
||||
g_test_skip ("translation is not working");
|
||||
|
||||
g_setenv ("LC_MESSAGES", locale, TRUE);
|
||||
setlocale (LC_MESSAGES, locale);
|
||||
|
Loading…
Reference in New Issue
Block a user