mirror of
https://github.com/neovim/neovim.git
synced 2026-07-31 04:39:07 +00:00
test: add reasons to some skipped tests (#37632)
This commit is contained in:
@@ -92,7 +92,7 @@ describe('autocmd TermClose', function()
|
||||
end)
|
||||
|
||||
it('kills job trapping SIGTERM', function()
|
||||
skip(is_os('win'))
|
||||
skip(is_os('win'), 'N/A for Windows')
|
||||
api.nvim_set_option_value('shell', 'sh', {})
|
||||
api.nvim_set_option_value('shellcmdflag', '-c', {})
|
||||
command(
|
||||
@@ -118,7 +118,7 @@ describe('autocmd TermClose', function()
|
||||
end)
|
||||
|
||||
it('kills PTY job trapping SIGHUP and SIGTERM', function()
|
||||
skip(is_os('win'))
|
||||
skip(is_os('win'), 'N/A for Windows')
|
||||
api.nvim_set_option_value('shell', 'sh', {})
|
||||
api.nvim_set_option_value('shellcmdflag', '-c', {})
|
||||
command(
|
||||
|
||||
@@ -294,7 +294,7 @@ describe('getcwd()', function()
|
||||
end)
|
||||
|
||||
it('returns empty string if working directory does not exist', function()
|
||||
skip(is_os('win'))
|
||||
skip(is_os('win'), 'N/A for Windows')
|
||||
command('cd ' .. directories.global)
|
||||
command("call delete('../" .. directories.global .. "', 'd')")
|
||||
eq('', n.eval('getcwd()'))
|
||||
|
||||
@@ -114,7 +114,7 @@ describe("preserve and (R)ecover with custom 'directory'", function()
|
||||
end)
|
||||
|
||||
it('killing TUI process without :preserve #22096', function()
|
||||
t.skip(t.is_os('win'))
|
||||
t.skip(t.is_os('win'), 'n.connect() hangs on Windows')
|
||||
local screen0 = Screen.new()
|
||||
local child_server = new_pipename()
|
||||
fn.jobstart({ nvim_prog, '-u', 'NONE', '-i', 'NONE', '--listen', child_server }, {
|
||||
|
||||
@@ -284,7 +284,7 @@ describe('--embed UI', function()
|
||||
end)
|
||||
|
||||
it('closing stdio with another remote UI does not leak memory #36392', function()
|
||||
t.skip(t.is_os('win')) -- n.connect() hangs on Windows
|
||||
t.skip(t.is_os('win'), 'n.connect() hangs on Windows')
|
||||
clear({ args_rm = { '--headless' } })
|
||||
Screen.new()
|
||||
eq(1, #api.nvim_list_uis())
|
||||
|
||||
@@ -3113,7 +3113,7 @@ aliquip ex ea commodo consequat.]]
|
||||
end)
|
||||
|
||||
it('pager works in headless mode with UI attached', function()
|
||||
skip(is_os('win'))
|
||||
skip(is_os('win'), 'n.connect() hangs on Windows')
|
||||
clear()
|
||||
local child_server = assert(n.new_pipename())
|
||||
fn.jobstart({ nvim_prog, '--clean', '--headless', '--listen', child_server })
|
||||
|
||||
Reference in New Issue
Block a user