]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0712: tests: missing dependency of Test_gettext_makefile v9.1.0712
authorJames McCoy <jamessan@jamessan.com>
Tue, 3 Sep 2024 20:50:38 +0000 (22:50 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 3 Sep 2024 20:50:38 +0000 (22:50 +0200)
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>
src/testdir/test_gettext_make.vim
src/version.c

index 1242fa43c1b49a9a1374c9c293c831fd99be8cd1..860aa2c65be86b972579916518318f0cf310c4bb 100644 (file)
@@ -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
index 9a7a53603b0baf724574672170db62873adf36d0..1ba85a9c66dc2450db8f28d47e0012274f65b967 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    712,
 /**/
     711,
 /**/