Mercurial > vim
changeset 35675:2052fe1c418b v9.1.0576
patch 9.1.0576: tests: still an issue with test_gettext_make
Commit: https://github.com/vim/vim/commit/71de259e7835b627b519b46fd729b84180548e54
Author: Ken Takata <kentkt@csc.jp>
Date: Sat Jul 13 18:56:25 2024 +0200
patch 9.1.0576: tests: still an issue with test_gettext_make
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 17 Jul 2024 08:13:24 +0200 |
parents | 3e188df00371 |
children | 162f1b7eaeea |
files | src/testdir/test_gettext_make.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_gettext_make.vim +++ b/src/testdir/test_gettext_make.vim @@ -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') ..