]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0576: tests: still an issue with test_gettext_make v9.1.0576
authorKen Takata <kentkt@csc.jp>
Sat, 13 Jul 2024 16:56:25 +0000 (18:56 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 13 Jul 2024 16:56:25 +0000 (18:56 +0200)
Problem:  tests: still an issue with test_gettext_make
          (after v9.1.0570)
Solution: Compare the getenv() output against v:null to verify
          that $GETTEXT_PATH was set or not (Ken Takata)

closes: #15236

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_gettext_make.vim
src/version.c

index 22b04745e0279a079de831040bcb33e2cc5c4cef..1242fa43c1b49a9a1374c9c293c831fd99be8cd1 100644 (file)
@@ -6,7 +6,7 @@ CheckFeature gettext
 func Test_gettext_makefile()
   cd ../po
   if has('win32')
-    if getenv('GETTEXT_PATH') == ''
+    if getenv('GETTEXT_PATH') == v:null
       throw 'Skipped: %GETTEXT_PATH% is not set.'
     endif
     call system('nmake.exe -f Make_mvc.mak "VIMPROG=' .. getenv('VIMPROG') ..
index c9113e628acb74ae8f32a876b964fd686f403a93..9dbe651abf0658de53b6b5f79dc682a799eac815 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    576,
 /**/
     575,
 /**/