Hi,
When I ran 'make test' on the Athena and Motif GUIs this morning, I got:
---
Test results:
>From test_terminal.vim:
Found errors in Test_zz_terminal_in_gui():
Caught exception in Test_zz_terminal_in_gui(): Vim(gui):E285: Failed to
create inpu
t context @ function RunTheTest[24]..Test_zz_terminal_in_gui, line 4
TEST FAILURE
make[1]: *** [report] Error 1
make: *** [scripttests] Error 2
---
E285 errors happen as a consequence of failure in creating a font set
needed to support a given locale/encoding. Therefore, E285 has nothing to
do at all with what we want to test with the function.
The cause of E285 can be eliminated by setting 'guifontset' properly;
however, it is by no means practical to specify every 'guifontset' for each
possible locale/encoding and code them in the test.
Fortunately, we've already have a vim script function suitable for saving
us from that daunting task,
test_ignore_error(). Attached is a tiny patch which makes use of the
function to address the issue.
Best regards,
Kazunobu Kuriyama
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index d651d0bba..9f7893292 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -429,6 +429,7 @@ func Test_zz_terminal_in_gui()
if !CanRunGui()
return
endif
+ call test_ignore_error('E285')
gui -f
call assert_equal(1, winnr('$'))