Merge pull request #14794 from BK1603/gdbserver_fix

functionaltest: fix running tests under gdbserver
This commit is contained in:
Matthieu Coudron
2021-10-20 21:27:40 +02:00
committed by GitHub
4 changed files with 20 additions and 14 deletions

View File

@@ -2059,6 +2059,8 @@ describe('lua stdlib', function()
-- Would wait ten seconds if results blocked.
wait_result = vim.wait(10000, function() return vim.g.timer_result end)
timer:close()
return {
time = (start_time + 5) > get_time(),
wait_result = wait_result,
@@ -2078,6 +2080,8 @@ describe('lua stdlib', function()
wait_result = vim.wait(300, function() return vim.g.timer_result end, nil, true)
timer:close()
return {
wait_result = wait_result,
}