1
0
forked from aniani/vim

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 <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
James McCoy
2024-09-03 22:50:38 +02:00
committed by Christian Brabandt
parent 06ed634db1
commit 3db32d2e7f
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ func Test_gettext_makefile()
\ ..\testdir\test_gettext_makefile_in4.vim" test_gettext.pot') \ ..\testdir\test_gettext_makefile_in4.vim" test_gettext.pot')
else else
" Will it work on macOS? " Will it work on macOS?
CheckExecutable xgettext
call system("make -f Makefile PLUGPACKAGE=test_gettext call system("make -f Makefile PLUGPACKAGE=test_gettext
\ PO_PLUG_INPUTLIST=\"../testdir/test_gettext_makefile_in1.vim \ PO_PLUG_INPUTLIST=\"../testdir/test_gettext_makefile_in1.vim
\ ../testdir/test_gettext_makefile_in2.vim \ ../testdir/test_gettext_makefile_in2.vim

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
712,
/**/ /**/
711, 711,
/**/ /**/