Skip to content

Commit 3db32d2

Browse files
jamessanchrisbra
authored andcommitted
patch 9.1.0712: tests: missing dependency of Test_gettext_makefile
Problem: tests: missing dependency of Test_gettext_makefile Solution: Check that xgettext binary is available, else skip the test (James McCoy) closes: #15612 Signed-off-by: James McCoy <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 06ed634 commit 3db32d2

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/testdir/test_gettext_make.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ func Test_gettext_makefile()
1818
\ ..\testdir\test_gettext_makefile_in4.vim" test_gettext.pot')
1919
else
2020
" Will it work on macOS?
21+
CheckExecutable xgettext
2122
call system("make -f Makefile PLUGPACKAGE=test_gettext
2223
\ PO_PLUG_INPUTLIST=\"../testdir/test_gettext_makefile_in1.vim
2324
\ ../testdir/test_gettext_makefile_in2.vim

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+
712,
707709
/**/
708710
711,
709711
/**/

0 commit comments

Comments
 (0)