Skip to content

Commit b8a9813

Browse files
committed
t0200: disable more tests with MSys2 that rely on locale.exe
There is a MinGW gettext.exe, but still no MinGW locale.exe. Instead the MSys2 locale.exe kicks in, which corresponds to the MSys2 gettext.exe, however. Therefore some assumptions of t0200 cannot be fulfilled when running inside MSys2. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b3a9fdb commit b8a9813

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t0200-gettext-basic.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test_expect_success GETTEXT_LOCALE 'sanity: gettext(unknown) is passed through'
5858
'
5959

6060
# xgettext from C
61-
test_expect_success GETTEXT_LOCALE 'xgettext: C extraction of _() and N_() strings' '
61+
test_expect_success GETTEXT_LOCALE,!MINGW 'xgettext: C extraction of _() and N_() strings' '
6262
printf "TILRAUN: C tilraunastrengur" >expect &&
6363
printf "\n" >>expect &&
6464
printf "Sjá '\''git help SKIPUN'\'' til að sjá hjálp fyrir tiltekna skipun." >>expect &&
@@ -81,7 +81,7 @@ test_expect_success GETTEXT_LOCALE 'xgettext: Shell extraction' '
8181
test_cmp expect actual
8282
'
8383

84-
test_expect_success GETTEXT_LOCALE 'xgettext: Shell extraction with $variable' '
84+
test_expect_success GETTEXT_LOCALE,!MINGW 'xgettext: Shell extraction with $variable' '
8585
printf "TILRAUN: Skeljartilraunastrengur með breytunni a var i able" >x-expect &&
8686
LANGUAGE=is LC_ALL="$is_IS_locale" variable="a var i able" eval_gettext "TEST: A Shell test \$variable" >x-actual &&
8787
test_cmp x-expect x-actual
@@ -94,7 +94,7 @@ test_expect_success GETTEXT_LOCALE 'xgettext: Perl extraction' '
9494
test_cmp expect actual
9595
'
9696

97-
test_expect_success GETTEXT_LOCALE 'xgettext: Perl extraction with %s' '
97+
test_expect_success GETTEXT_LOCALE,!MINGW 'xgettext: Perl extraction with %s' '
9898
printf "TILRAUN: Perl tilraunastrengur með breytunni %%s" >expect &&
9999
LANGUAGE=is LC_ALL="$is_IS_locale" gettext "TEST: A Perl test variable %s" >actual &&
100100
test_cmp expect actual

0 commit comments

Comments
 (0)