Skip to content

Commit

Permalink
patch 9.1.0712: tests: missing dependency of Test_gettext_makefile
Browse files Browse the repository at this point in the history
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 <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
jamessan authored and chrisbra committed Sep 3, 2024
1 parent 06ed634 commit 3db32d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/testdir/test_gettext_make.vim
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func Test_gettext_makefile()
\ ..\testdir\test_gettext_makefile_in4.vim" test_gettext.pot')
else
" Will it work on macOS?
CheckExecutable xgettext
call system("make -f Makefile PLUGPACKAGE=test_gettext
\ PO_PLUG_INPUTLIST=\"../testdir/test_gettext_makefile_in1.vim
\ ../testdir/test_gettext_makefile_in2.vim
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
712,
/**/
711,
/**/
Expand Down

0 comments on commit 3db32d2

Please sign in to comment.