Bram,
I see some sporadic failures when running
Test_popup_and_window_resize():
,----
| 1 FAILED:
| Found errors in Test_popup_and_window_resize():
| function RunTheTest[24]..Test_popup_and_window_resize line 16: Pattern
'^!\\s*$' does not match '16o^[Gi^Xexecuting job failed: No such file or
directory'
| function RunTheTest[24]..Test_popup_and_window_resize line 22: Expected ''
but got '16o^[Gi^Xexecuting job failed: No such file or directory'
| function RunTheTest[24]..Test_popup_and_window_resize line 26: Pattern
'^!\\s*$' does not match ''
| function RunTheTest[24]..Test_popup_and_window_resize line 28: Pattern
'^!\\s*$' does not match ''
`----
I think this is because the $VIMPROG is not set and I am not sure how this
variable is supposed to be set anyhow.
So I changed it to use v:progpath and this fixed the error.
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim
index fdd51de51..fe6a10888 100644
--- a/src/testdir/test_popup.vim
+++ b/src/testdir/test_popup.vim
@@ -643,7 +643,7 @@ func Test_popup_and_window_resize()
if h < 15
return
endif
- let g:buf = term_start([$VIMPROG, '--clean', '-c', 'set noswapfile'],
{'term_rows': h / 3})
+ let g:buf = term_start([v:progpath, '--clean', '-c', 'set noswapfile'],
{'term_rows': h / 3})
call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>G")
call term_sendkeys(g:buf, "i\<c-x>")
call term_wait(g:buf, 200)
Christian
--
Wir sind noch nicht am Anfang, wir sind auch noch nicht am Ende, aber
wir sind am Anfang vom Ende.
-- Winston Spencer Churchill
--
--
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.