diff options
author | Dominique Pellé <dominique.pelle@tomtom.com> | 2023-09-24 16:09:31 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-09-24 16:09:31 +0200 |
commit | 99c3849a9299982666a7b677f0565a7b3717d20c (patch) | |
tree | c71897134dcd7f67156f4ad97e65b29758a6a7b1 /runtime/syntax | |
parent | b895b0fabce7d952a6617eb69fc1e1597ece8b00 (diff) |
patch 9.0.1929: runtime tests fail with tiny vimv9.0.1929
Problem: runtime tests fail with tiny vim
Solution: check for tiny vim, run runtime tests in CI
even for tiny version
closes: #13169
closes: #13170
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/Makefile | 4 | ||||
-rw-r--r-- | runtime/syntax/testdir/runtest.vim | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/runtime/syntax/Makefile b/runtime/syntax/Makefile index c8a7f00232..f3b578ce9b 100644 --- a/runtime/syntax/Makefile +++ b/runtime/syntax/Makefile @@ -27,8 +27,8 @@ test: @echo "$(RUN_VIMTEST)" >> testdir/vimcmd VIMRUNTIME=$(VIMRUNTIME) $(VIMPROG) --clean --not-a-term $(DEBUGLOG) -u testdir/runtest.vim @# FIXME: Temporarily show the whole file to find out what goes wrong - @#tail -n 6 testdir/messages - @cat testdir/messages + @#if [ -f testdir/messages ]; then tail -n 6 testdir/messages; fi + @if [ -f testdir/messages ]; then cat testdir/messages; fi clean testclean: diff --git a/runtime/syntax/testdir/runtest.vim b/runtime/syntax/testdir/runtest.vim index 2603a52da0..80f1eff58a 100644 --- a/runtime/syntax/testdir/runtest.vim +++ b/runtime/syntax/testdir/runtest.vim @@ -231,15 +231,15 @@ for fname in glob('input/*.*', 1, 1) endif endfor -" Matching "if 1" at the start. -endif - call Message(s:test_run_message) call Message('OK: ' .. ok_count) 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 |