changeset 36088:c6c559fd8198 v9.1.0712

patch 9.1.0712: tests: missing dependency of Test_gettext_makefile Commit: https://github.com/vim/vim/commit/3db32d2e7ffb4184c0996c1df6b9c09054074d26 Author: James McCoy <jamessan@jamessan.com> Date: Tue Sep 3 22:50:38 2024 +0200 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>
author Christian Brabandt <cb@256bit.org>
date Tue, 03 Sep 2024 23:00:04 +0200
parents ee173d475108
children 31192cbe014d
files src/testdir/test_gettext_make.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_gettext_make.vim
+++ b/src/testdir/test_gettext_make.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    712,
+/**/
     711,
 /**/
     710,