Patchwork test-i18n: guard gettext test appropriately

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 14, 2017, 4:55 a.m.
Message ID <d70d56a43d2e301f605d.1507956905@mimosa>
Download mbox | patch
Permalink /patch/24864/
State Accepted
Headers show

Comments

Yuya Nishihara - Oct. 14, 2017, 4:55 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1507955834 -32400
#      Sat Oct 14 13:37:14 2017 +0900
# Node ID d70d56a43d2e301f605d2c2fe1368d04f0aaaf87
# Parent  16d73491416b8db667296526740fed2af086452b
test-i18n: guard gettext test appropriately
Augie Fackler - Oct. 14, 2017, 5:31 a.m.
On Sat, Oct 14, 2017 at 01:55:05PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1507955834 -32400
> #      Sat Oct 14 13:37:14 2017 +0900
> # Node ID d70d56a43d2e301f605d2c2fe1368d04f0aaaf87
> # Parent  16d73491416b8db667296526740fed2af086452b
> test-i18n: guard gettext test appropriately

queued, thanks

Patch

diff --git a/tests/test-i18n.t b/tests/test-i18n.t
--- a/tests/test-i18n.t
+++ b/tests/test-i18n.t
@@ -49,6 +49,8 @@  tool itself by doctest
   $ $PYTHON check-translation.py --doctest
   $ cd $TESTTMP
 
+#if gettext
+
 Check i18n cache isn't reused after encoding change:
 
   $ cat > $TESTTMP/encodingchange.py << EOF
@@ -68,3 +70,5 @@  Check i18n cache isn't reused after enco
   (\xe5\xae\x9f\xe9\xa8\x93\xe7\x9a\x84\xe5\xae\x9f\xe8\xa3\x85) (esc)
   (?????)
   (\xe5\xae\x9f\xe9\xa8\x93\xe7\x9a\x84\xe5\xae\x9f\xe8\xa3\x85) (esc)
+
+#endif