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>
diff --git a/src/testdir/test_gettext_make.vim b/src/testdir/test_gettext_make.vim
index 1242fa4..860aa2c 100644
--- a/src/testdir/test_gettext_make.vim
+++ b/src/testdir/test_gettext_make.vim
@@ -18,6 +18,7 @@
\ ..\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
diff --git a/src/version.c b/src/version.c
index 9a7a536..1ba85a9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 712,
+/**/
711,
/**/
710,