This PR improves test coverage of :hardcopy by
testing with 'printmbcharset'.
It also speeds up test Test_printoptions() by limiting the range
of lines to print.
https://github.com/vim/vim/pull/5783
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
@dpelle commented on this pull request.
In src/testdir/test_hardcopy.vim:
> @@ -63,6 +63,35 @@ func Test_printmbfont()
bwipe
endfunc
+func Test_printmbcharset()
+ " FIXME: Unclear why this fails on Windows.
+ if !has('unix')
+ return
+ endif
The test was hanging on Window CI (Appveyor).
I merely disabled the new tests on Windows
as I don't have a Windows machine to reproduce it.
I'd appreciate if someone with a windows host could check
why this test is failing. File test_hardcopy.vim has several
tests disabled on Windows:
@dpelle commented on this pull request.
In src/testdir/test_hardcopy.vim:
> @@ -63,6 +63,35 @@ func Test_printmbfont() bwipe endfunc +func Test_printmbcharset() + " FIXME: Unclear why this fails on Windows. + if !has('unix') + return + endifThe test was hanging on Window CI (Appveyor).
I merely disabled the new tests on Windows
as I don't have a Windows machine to reproduce it.I'd appreciate if someone with a windows host could check
why this test is failing. Filetest_hardcopy.vimhas several
tests disabled on Windows:
- Test_printmbcharset()
- Test_printexpr()
- Test_errors()
- Test_empty_buffer()
Yegappan wrote;
The tests are failing on MS-Windows because "+postscript" is missing.
Right, thank you. I added has('postscript').
Also added POSTSCRIPT=yes for Windows and the suggested modeline.
—
You are receiving this because you commented.
Yegappan wrote;
The tests are failing on MS-Windows because "+postscript" is missing.
Right, thank you. I added has('postscript').
Also added POSTSCRIPT=yes for Windows and the suggested modeline.