Skip to content

Commit 75ba87b

Browse files
jamessanchrisbra
authored andcommitted
patch 9.1.0706: tests: test_gettext fails when using shadow dir
Problem: tests: test_gettext fails when using shadow dir Solution: Link the ru_RU directory into the shadow testdir (James McCoy) Link the ru_RU directory into shadow testdir When the ru_RU locale is present, but the build is using a shadowdir, then test_gettext_cp1251.vim and test_gettext_utf8.vim fail: From test_gettext_cp1251.vim: Executed Test_gettext() in 0.000848 seconds Executed 1 test in 0.007010 seconds 1 FAILED: Found errors in Test_gettext(): command line..script /home/runner/work/vim/vim/src/shadow/testdir/runtest.vim[607]..function RunTheTest[57]..Test_gettext line 9: Expected '������: ' but got 'ERROR: ' From test_gettext_utf8.vim: Executed Test_gettext() in 0.000908 seconds Executed 1 test in 0.007339 seconds 1 FAILED: Found errors in Test_gettext(): command line..script /home/runner/work/vim/vim/src/shadow/testdir/runtest.vim[607]..function RunTheTest[57]..Test_gettext line 9: Expected '������: ' but got 'ERROR: ' This is because it's unable to load the translations from the ru_RU test directory, since it wasn't symlinked into the shadow directory. closes: #15591 Signed-off-by: James McCoy <jamessan@jamessan.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 4e527a2 commit 75ba87b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2939,6 +2939,7 @@ shadow: runtime pixmaps
29392939
../../testdir/*.py \
29402940
../../testdir/python* \
29412941
../../testdir/pyxfile \
2942+
../../testdir/ru_RU \
29422943
../../testdir/sautest \
29432944
../../testdir/samples \
29442945
../../testdir/dumps \

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
706,
707709
/**/
708710
705,
709711
/**/

0 commit comments

Comments
 (0)