patch 9.1.0091: Syntax test fails when run with non C locale

Problem:  Syntax test fails when run with non C locale
Solution: Run syntax tests with C locale, clean up Xtestscript file,
          strip environment variables from GetVimCommand()
          (h-east)

closes: #14007

Co-authored-by: h-east <h.east.727@gmail.com>
Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-02-10 13:02:17 +01:00
parent 45932c5c4a
commit 627c950e5b
4 changed files with 12 additions and 6 deletions

View File

@ -237,11 +237,12 @@ call Message('FAILED: ' .. len(failed_tests) .. ': ' .. string(failed_tests))
call Message('skipped: ' .. skipped_count)
call AppendMessages('== SUMMARY ==')
" Matching "if 1" at the start.
endif
if len(failed_tests) > 0
" have make report an error
cquit
endif
" Matching "if 1" at the start.
endif
qall!