mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
ci: skip tests that fail on windows
This commit is contained in:
@@ -142,6 +142,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end
|
||||
|
||||
it('with no argument, acts like termopen()', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
terminal_with_fake_shell()
|
||||
retry(nil, 4 * screen.timeout, function()
|
||||
screen:expect([[
|
||||
@@ -165,6 +166,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end)
|
||||
|
||||
it("with no argument, but 'shell' has arguments, acts like termopen()", function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
nvim('set_option', 'shell', nvim_dir..'/shell-test -t jeff')
|
||||
terminal_with_fake_shell()
|
||||
screen:expect([[
|
||||
@@ -176,6 +178,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end)
|
||||
|
||||
it('executes a given command through the shell', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
command('set shellxquote=') -- win: avoid extra quotes
|
||||
terminal_with_fake_shell('echo hi')
|
||||
screen:expect([[
|
||||
@@ -187,6 +190,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end)
|
||||
|
||||
it("executes a given command through the shell, when 'shell' has arguments", function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
nvim('set_option', 'shell', nvim_dir..'/shell-test -t jeff')
|
||||
command('set shellxquote=') -- win: avoid extra quotes
|
||||
terminal_with_fake_shell('echo hi')
|
||||
@@ -199,6 +203,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end)
|
||||
|
||||
it('allows quotes and slashes', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
command('set shellxquote=') -- win: avoid extra quotes
|
||||
terminal_with_fake_shell([[echo 'hello' \ "world"]])
|
||||
screen:expect([[
|
||||
@@ -235,6 +240,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end)
|
||||
|
||||
it('works with :find', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
terminal_with_fake_shell()
|
||||
screen:expect([[
|
||||
^ready $ |
|
||||
@@ -253,6 +259,7 @@ describe(':terminal (with fake shell)', function()
|
||||
end)
|
||||
|
||||
it('works with gf', function()
|
||||
if helpers.pending_win32(pending) then return end
|
||||
command('set shellxquote=') -- win: avoid extra quotes
|
||||
terminal_with_fake_shell([[echo "scripts/shadacat.py"]])
|
||||
retry(nil, 4 * screen.timeout, function()
|
||||
|
||||
Reference in New Issue
Block a user