New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make test fails on master #9330
Comments
If I use Three tests fails:
|
This comment has been minimized.
This comment has been minimized.
The second failure looks like #7958. @liushapku |
For the first issue: The following patch triggers a test failure, where it then hangs.
diff --git i/test/functional/eval/system_spec.lua w/test/functional/eval/system_spec.lua
index 5cbf34365..31cda2b99 100644
--- i/test/functional/eval/system_spec.lua
+++ w/test/functional/eval/system_spec.lua
@@ -129,7 +129,9 @@ describe('system()', function()
end)
after_each(function()
+ print("after_each")
screen:detach()
+ print("detached")
end)
if iswin() then
@@ -205,10 +207,12 @@ describe('system()', function()
it('prints verbose information', function()
screen:try_resize(72, 14)
feed(':4verbose echo system("echo hi")<cr>')
+ -- feed('<cr>')
+ eq(1, 2)
if iswin() then
screen:expect{any=[[Executing command: "'cmd.exe' '/s' '/c' '"echo hi"'"]]}
else
I could not find where this is hanging. (But I've digged into this after running in an actual failure there (in Docker)) |
It would previously fail with `set shell=sh` (no slash). For the test itself we can just use a non-existing (fake) shell, because it is only about the verbose output. Ref: neovim#9330
First issue should be fixed in #10532. |
In v0.3.1 the test does not exist, so cannot hang. It was added in a225374 (included in v0.3.2). The hang can be reproduced there also already, using just:
|
It would previously fail with `set shell=sh` (no slash). For the test itself we can just use a non-existing (fake) shell, because it is only about the verbose output. Ref: #9330
It would previously fail with `set shell=sh` (no slash). For the test itself we can just use a non-existing (fake) shell, because it is only about the verbose output. Ref: neovim#9330
System Infomation
commit: bd97577
system: ubuntu 18.04
shell: both bash and zsh
sympton: make test hangs after printing traceback of lua
details: see output at the end.
Questions
system_spec.lua
Log
The text was updated successfully, but these errors were encountered: