mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Mark some functional tests as pending in Windows
This commit is contained in:
parent
0089ef6b65
commit
39c628d031
@ -8,6 +8,7 @@ local nvim_prog, command, funcs = helpers.nvim_prog, helpers.command, helpers.fu
|
|||||||
local source, next_message = helpers.source, helpers.next_message
|
local source, next_message = helpers.source, helpers.next_message
|
||||||
local meths = helpers.meths
|
local meths = helpers.meths
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('server -> client', function()
|
describe('server -> client', function()
|
||||||
local cid
|
local cid
|
||||||
|
@ -5,6 +5,8 @@ local command = helpers.command
|
|||||||
local eq = helpers.eq
|
local eq = helpers.eq
|
||||||
local eval = helpers.eval
|
local eval = helpers.eval
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('autocmd TabNew', function()
|
describe('autocmd TabNew', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
local helpers = require('test.functional.helpers')(after_each)
|
local helpers = require('test.functional.helpers')(after_each)
|
||||||
local clear, nvim, eq = helpers.clear, helpers.nvim, helpers.eq
|
local clear, nvim, eq = helpers.clear, helpers.nvim, helpers.eq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('TabNewEntered', function()
|
describe('TabNewEntered', function()
|
||||||
describe('au TabNewEntered', function()
|
describe('au TabNewEntered', function()
|
||||||
describe('with * as <afile>', function()
|
describe('with * as <afile>', function()
|
||||||
|
@ -5,6 +5,8 @@ local clear, execute, feed, nvim, nvim_dir = helpers.clear,
|
|||||||
helpers.execute, helpers.feed, helpers.nvim, helpers.nvim_dir
|
helpers.execute, helpers.feed, helpers.nvim, helpers.nvim_dir
|
||||||
local eval, eq = helpers.eval, helpers.eq
|
local eval, eq = helpers.eval, helpers.eq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('TermClose event', function()
|
describe('TermClose event', function()
|
||||||
local screen
|
local screen
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
@ -5,6 +5,8 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
||||||
local execute, expect, eq, eval = helpers.execute, helpers.expect, helpers.eq, helpers.eval
|
local execute, expect, eq, eval = helpers.execute, helpers.expect, helpers.eq, helpers.eval
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local function basic_register_test(noblock)
|
local function basic_register_test(noblock)
|
||||||
insert("some words")
|
insert("some words")
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ local clear, eq, eval, execute, feed, insert, neq, next_msg, nvim,
|
|||||||
local command = helpers.command
|
local command = helpers.command
|
||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('jobs', function()
|
describe('jobs', function()
|
||||||
local channel
|
local channel
|
||||||
|
@ -4,6 +4,8 @@ local nvim, eq, neq, eval = helpers.nvim, helpers.eq, helpers.neq, helpers.eval
|
|||||||
local clear, funcs, meths = helpers.clear, helpers.funcs, helpers.meths
|
local clear, funcs, meths = helpers.clear, helpers.funcs, helpers.meths
|
||||||
local os_name = helpers.os_name
|
local os_name = helpers.os_name
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('serverstart(), serverstop()', function()
|
describe('serverstart(), serverstop()', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@ local clear = helpers.clear
|
|||||||
local execute = helpers.execute
|
local execute = helpers.execute
|
||||||
local exc_exec = helpers.exc_exec
|
local exc_exec = helpers.exc_exec
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
-- These directories will be created for testing
|
-- These directories will be created for testing
|
||||||
local directories = {
|
local directories = {
|
||||||
tab = 'Xtest-functional-ex_cmds-cd_spec.tab', -- Tab
|
tab = 'Xtest-functional-ex_cmds-cd_spec.tab', -- Tab
|
||||||
|
@ -6,6 +6,8 @@ local execute, eq, clear, eval, feed, expect, source =
|
|||||||
helpers.execute, helpers.eq, helpers.clear, helpers.eval, helpers.feed,
|
helpers.execute, helpers.eq, helpers.clear, helpers.eval, helpers.feed,
|
||||||
helpers.expect, helpers.source
|
helpers.expect, helpers.source
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe(':recover', function()
|
describe(':recover', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ local eq, eval, clear, write_file, execute, source =
|
|||||||
helpers.eq, helpers.eval, helpers.clear, helpers.write_file,
|
helpers.eq, helpers.eval, helpers.clear, helpers.write_file,
|
||||||
helpers.execute, helpers.source
|
helpers.execute, helpers.source
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe(':write', function()
|
describe(':write', function()
|
||||||
after_each(function()
|
after_each(function()
|
||||||
os.remove('test_bkc_file.txt')
|
os.remove('test_bkc_file.txt')
|
||||||
|
@ -430,6 +430,20 @@ local function create_callindex(func)
|
|||||||
return table
|
return table
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Helper to skip tests. Returns true in Windows systems.
|
||||||
|
-- pending_func is the pending() from busted
|
||||||
|
local function pending_win32(pending_func)
|
||||||
|
clear()
|
||||||
|
if os_name() == 'windows' then
|
||||||
|
if pending_func ~= nil then
|
||||||
|
pending_func('FIXME: Windows', function() end)
|
||||||
|
end
|
||||||
|
return true
|
||||||
|
else
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local funcs = create_callindex(nvim_call)
|
local funcs = create_callindex(nvim_call)
|
||||||
local meths = create_callindex(nvim)
|
local meths = create_callindex(nvim)
|
||||||
local bufmeths = create_callindex(buffer)
|
local bufmeths = create_callindex(buffer)
|
||||||
@ -493,6 +507,7 @@ return function(after_each)
|
|||||||
curbufmeths = curbufmeths,
|
curbufmeths = curbufmeths,
|
||||||
curwinmeths = curwinmeths,
|
curwinmeths = curwinmeths,
|
||||||
curtabmeths = curtabmeths,
|
curtabmeths = curtabmeths,
|
||||||
|
pending_win32 = pending_win32,
|
||||||
NIL = mpack.NIL,
|
NIL = mpack.NIL,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -18,6 +18,8 @@ local clear, execute, expect, eq, neq, dedent, write_file, feed =
|
|||||||
helpers.clear, helpers.execute, helpers.expect, helpers.eq, helpers.neq,
|
helpers.clear, helpers.execute, helpers.expect, helpers.eq, helpers.neq,
|
||||||
helpers.dedent, helpers.write_file, helpers.feed
|
helpers.dedent, helpers.write_file, helpers.feed
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local function has_gzip()
|
local function has_gzip()
|
||||||
return os.execute('gzip --help >/dev/null 2>&1') == 0
|
return os.execute('gzip --help >/dev/null 2>&1') == 0
|
||||||
end
|
end
|
||||||
|
@ -5,6 +5,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
||||||
local execute, expect = helpers.execute, helpers.expect
|
local execute, expect = helpers.execute, helpers.expect
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('jump to a tag with hidden set', function()
|
describe('jump to a tag with hidden set', function()
|
||||||
setup(clear)
|
setup(clear)
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local feed, clear, execute = helpers.feed, helpers.clear, helpers.execute
|
local feed, clear, execute = helpers.feed, helpers.clear, helpers.execute
|
||||||
local eq, write_file = helpers.eq, helpers.write_file
|
local eq, write_file = helpers.eq, helpers.write_file
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('fileformats option', function()
|
describe('fileformats option', function()
|
||||||
setup(function()
|
setup(function()
|
||||||
clear()
|
clear()
|
||||||
|
@ -7,6 +7,8 @@ local clear, feed = helpers.clear, helpers.feed
|
|||||||
local execute, expect = helpers.execute, helpers.expect
|
local execute, expect = helpers.execute, helpers.expect
|
||||||
local wait = helpers.wait
|
local wait = helpers.wait
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe(':highlight', function()
|
describe(':highlight', function()
|
||||||
setup(clear)
|
setup(clear)
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ local feed, insert, source = helpers.feed, helpers.insert, helpers.source
|
|||||||
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
||||||
local write_file, call = helpers.write_file, helpers.call
|
local write_file, call = helpers.write_file, helpers.call
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local function write_latin1(name, text)
|
local function write_latin1(name, text)
|
||||||
text = call('iconv', text, 'utf-8', 'latin-1')
|
text = call('iconv', text, 'utf-8', 'latin-1')
|
||||||
write_file(name, text)
|
write_file(name, text)
|
||||||
|
@ -7,6 +7,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local feed, insert = helpers.feed, helpers.insert
|
local feed, insert = helpers.feed, helpers.insert
|
||||||
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('store cursor position in session file in Latin-1', function()
|
describe('store cursor position in session file in Latin-1', function()
|
||||||
setup(clear)
|
setup(clear)
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local clear = helpers.clear
|
local clear = helpers.clear
|
||||||
local execute, expect = helpers.execute, helpers.expect
|
local execute, expect = helpers.execute, helpers.expect
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('glob() and globpath()', function()
|
describe('glob() and globpath()', function()
|
||||||
setup(clear)
|
setup(clear)
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local insert = helpers.insert
|
local insert = helpers.insert
|
||||||
local clear, execute = helpers.clear, helpers.execute
|
local clear, execute = helpers.clear, helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('107', function()
|
describe('107', function()
|
||||||
setup(clear)
|
setup(clear)
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local clear, execute, eq = helpers.clear, helpers.execute, helpers.eq
|
local clear, execute, eq = helpers.clear, helpers.execute, helpers.eq
|
||||||
local eval, exc_exec, neq = helpers.eval, helpers.exc_exec, helpers.neq
|
local eval, exc_exec, neq = helpers.eval, helpers.exc_exec, helpers.neq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('argument list commands', function()
|
describe('argument list commands', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local clear, source = helpers.clear, helpers.source
|
local clear, source = helpers.clear, helpers.source
|
||||||
local eq, eval, execute = helpers.eq, helpers.eval, helpers.execute
|
local eq, eval, execute = helpers.eq, helpers.eval, helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('Test for delete()', function()
|
describe('Test for delete()', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local feed = helpers.feed
|
local feed = helpers.feed
|
||||||
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('fixeol', function()
|
describe('fixeol', function()
|
||||||
local function rmtestfiles()
|
local function rmtestfiles()
|
||||||
os.remove('test.out')
|
os.remove('test.out')
|
||||||
|
@ -4,6 +4,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local clear, source = helpers.clear, helpers.source
|
local clear, source = helpers.clear, helpers.source
|
||||||
local call, eq, nvim = helpers.call, helpers.eq, helpers.meths
|
local call, eq, nvim = helpers.call, helpers.eq, helpers.meths
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local function expected_empty()
|
local function expected_empty()
|
||||||
eq({}, nvim.get_vvar('errors'))
|
eq({}, nvim.get_vvar('errors'))
|
||||||
end
|
end
|
||||||
|
@ -4,6 +4,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local eq, eval, source = helpers.eq, helpers.eval, helpers.source
|
local eq, eval, source = helpers.eq, helpers.eval, helpers.source
|
||||||
local call, clear, execute = helpers.call, helpers.clear, helpers.execute
|
local call, clear, execute = helpers.call, helpers.clear, helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('getcwd', function()
|
describe('getcwd', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@ local function expected_empty()
|
|||||||
eq({}, nvim.get_vvar('errors'))
|
eq({}, nvim.get_vvar('errors'))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('packadd', function()
|
describe('packadd', function()
|
||||||
before_each(function()
|
before_each(function()
|
||||||
clear()
|
clear()
|
||||||
|
@ -5,6 +5,8 @@ local feed, insert, source = helpers.feed, helpers.insert, helpers.source
|
|||||||
local clear, execute = helpers.clear, helpers.execute
|
local clear, execute = helpers.clear, helpers.execute
|
||||||
local eq, eval = helpers.eq, helpers.eval
|
local eq, eval = helpers.eq, helpers.eval
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('wordcount', function()
|
describe('wordcount', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local eq, clear, eval, feed =
|
local eq, clear, eval, feed =
|
||||||
helpers.eq, helpers.clear, helpers.eval, helpers.feed
|
helpers.eq, helpers.clear, helpers.eval, helpers.feed
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('K', function()
|
describe('K', function()
|
||||||
local test_file = 'K_spec_out'
|
local test_file = 'K_spec_out'
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
@ -3,6 +3,8 @@ local clear = helpers.clear
|
|||||||
local eq = helpers.eq
|
local eq = helpers.eq
|
||||||
local getcwd = helpers.funcs.getcwd
|
local getcwd = helpers.funcs.getcwd
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe("'autochdir'", function()
|
describe("'autochdir'", function()
|
||||||
it('given on the shell gets processed properly', function()
|
it('given on the shell gets processed properly', function()
|
||||||
local targetdir = 'test/functional/fixtures'
|
local targetdir = 'test/functional/fixtures'
|
||||||
|
@ -9,6 +9,8 @@ local eval = helpers.eval
|
|||||||
local eq = helpers.eq
|
local eq = helpers.eq
|
||||||
local neq = helpers.neq
|
local neq = helpers.neq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local function init_session(...)
|
local function init_session(...)
|
||||||
local args = { helpers.nvim_prog, '-i', 'NONE', '--embed',
|
local args = { helpers.nvim_prog, '-i', 'NONE', '--embed',
|
||||||
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent',
|
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent',
|
||||||
|
@ -2,6 +2,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
local clear, execute = helpers.clear, helpers.execute
|
local clear, execute = helpers.clear, helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe("'shortmess'", function()
|
describe("'shortmess'", function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -43,6 +43,8 @@ local wshada, _, fname = get_shada_rw('Xtest-functional-plugin-shada.shada')
|
|||||||
local wshada_tmp, _, fname_tmp =
|
local wshada_tmp, _, fname_tmp =
|
||||||
get_shada_rw('Xtest-functional-plugin-shada.shada.tmp.f')
|
get_shada_rw('Xtest-functional-plugin-shada.shada.tmp.f')
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('In autoload/shada.vim', function()
|
describe('In autoload/shada.vim', function()
|
||||||
local epoch = os.date('%Y-%m-%dT%H:%M:%S', 0)
|
local epoch = os.date('%Y-%m-%dT%H:%M:%S', 0)
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
@ -8,6 +8,8 @@ local reset, set_additional_cmd, clear =
|
|||||||
shada_helpers.reset, shada_helpers.set_additional_cmd,
|
shada_helpers.reset, shada_helpers.set_additional_cmd,
|
||||||
shada_helpers.clear
|
shada_helpers.clear
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('ShaDa support code', function()
|
describe('ShaDa support code', function()
|
||||||
local testfilename = 'Xtestfile-functional-shada-buffers'
|
local testfilename = 'Xtestfile-functional-shada-buffers'
|
||||||
local testfilename_2 = 'Xtestfile-functional-shada-buffers-2'
|
local testfilename_2 = 'Xtestfile-functional-shada-buffers-2'
|
||||||
|
@ -14,6 +14,8 @@ local nvim_current_line = function()
|
|||||||
return curwinmeths.get_cursor()[1]
|
return curwinmeths.get_cursor()[1]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('ShaDa support code', function()
|
describe('ShaDa support code', function()
|
||||||
local testfilename = 'Xtestfile-functional-shada-marks'
|
local testfilename = 'Xtestfile-functional-shada-marks'
|
||||||
local testfilename_2 = 'Xtestfile-functional-shada-marks-2'
|
local testfilename_2 = 'Xtestfile-functional-shada-marks-2'
|
||||||
|
@ -18,6 +18,8 @@ local read_shada_file = shada_helpers.read_shada_file
|
|||||||
local wshada, _, shada_fname, clean =
|
local wshada, _, shada_fname, clean =
|
||||||
get_shada_rw('Xtest-functional-shada-shada.shada')
|
get_shada_rw('Xtest-functional-shada-shada.shada')
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('ShaDa support code', function()
|
describe('ShaDa support code', function()
|
||||||
before_each(reset)
|
before_each(reset)
|
||||||
after_each(function()
|
after_each(function()
|
||||||
|
@ -4,6 +4,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local feed, execute, clear = helpers.feed, helpers.execute, helpers.clear
|
local feed, execute, clear = helpers.feed, helpers.execute, helpers.clear
|
||||||
local mkdir, write_file, rmdir = helpers.mkdir, helpers.write_file, helpers.rmdir
|
local mkdir, write_file, rmdir = helpers.mkdir, helpers.write_file, helpers.rmdir
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ local eq, clear, eval, feed, nvim =
|
|||||||
|
|
||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
local function create_file_with_nuls(name)
|
local function create_file_with_nuls(name)
|
||||||
return function()
|
return function()
|
||||||
|
@ -6,6 +6,8 @@ local feed_data = thelpers.feed_data
|
|||||||
local enter_altscreen = thelpers.enter_altscreen
|
local enter_altscreen = thelpers.enter_altscreen
|
||||||
local exit_altscreen = thelpers.exit_altscreen
|
local exit_altscreen = thelpers.exit_altscreen
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal altscreen', function()
|
describe('terminal altscreen', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ local wait = helpers.wait
|
|||||||
local eval, execute, source = helpers.eval, helpers.execute, helpers.source
|
local eval, execute, source = helpers.eval, helpers.execute, helpers.source
|
||||||
local eq, neq = helpers.eq, helpers.neq
|
local eq, neq = helpers.eq, helpers.neq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal buffer', function()
|
describe('terminal buffer', function()
|
||||||
local screen
|
local screen
|
||||||
|
@ -6,6 +6,7 @@ local nvim_dir, execute = helpers.nvim_dir, helpers.execute
|
|||||||
local hide_cursor = thelpers.hide_cursor
|
local hide_cursor = thelpers.hide_cursor
|
||||||
local show_cursor = thelpers.show_cursor
|
local show_cursor = thelpers.show_cursor
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal cursor', function()
|
describe('terminal cursor', function()
|
||||||
local screen
|
local screen
|
||||||
|
@ -4,6 +4,8 @@ local clear, wait, nvim = helpers.clear, helpers.wait, helpers.nvim
|
|||||||
local nvim_dir, source, eq = helpers.nvim_dir, helpers.source, helpers.eq
|
local nvim_dir, source, eq = helpers.nvim_dir, helpers.source, helpers.eq
|
||||||
local execute, eval = helpers.execute, helpers.eval
|
local execute, eval = helpers.execute, helpers.eval
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe(':terminal', function()
|
describe(':terminal', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ local feed, clear, nvim = helpers.feed, helpers.clear, helpers.nvim
|
|||||||
local nvim_dir, execute = helpers.nvim_dir, helpers.execute
|
local nvim_dir, execute = helpers.nvim_dir, helpers.execute
|
||||||
local eq, eval = helpers.eq, helpers.eval
|
local eq, eval = helpers.eq, helpers.eval
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal window highlighting', function()
|
describe('terminal window highlighting', function()
|
||||||
local screen
|
local screen
|
||||||
|
@ -4,6 +4,8 @@ local clear = helpers.clear
|
|||||||
local feed, nvim = helpers.feed, helpers.nvim
|
local feed, nvim = helpers.feed, helpers.nvim
|
||||||
local feed_data = thelpers.feed_data
|
local feed_data = thelpers.feed_data
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal mouse', function()
|
describe('terminal mouse', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ local feed, nvim_dir, execute = helpers.feed, helpers.nvim_dir, helpers.execute
|
|||||||
local wait = helpers.wait
|
local wait = helpers.wait
|
||||||
local feed_data = thelpers.feed_data
|
local feed_data = thelpers.feed_data
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal scrollback', function()
|
describe('terminal scrollback', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ local feed = thelpers.feed_data
|
|||||||
local execute = helpers.execute
|
local execute = helpers.execute
|
||||||
local nvim_dir = helpers.nvim_dir
|
local nvim_dir = helpers.nvim_dir
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('tui', function()
|
describe('tui', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local feed, clear = helpers.feed, helpers.clear
|
|||||||
local wait = helpers.wait
|
local wait = helpers.wait
|
||||||
local execute = helpers.execute
|
local execute = helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal window', function()
|
describe('terminal window', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local clear = helpers.clear
|
|||||||
local feed, nvim = helpers.feed, helpers.nvim
|
local feed, nvim = helpers.feed, helpers.nvim
|
||||||
local execute = helpers.execute
|
local execute = helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('terminal', function()
|
describe('terminal', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
||||||
local execute, request, neq = helpers.execute, helpers.request, helpers.neq
|
local execute, request, neq = helpers.execute, helpers.request, helpers.neq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('Buffer highlighting', function()
|
describe('Buffer highlighting', function()
|
||||||
local screen
|
local screen
|
||||||
|
@ -4,6 +4,7 @@ local os = require('os')
|
|||||||
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
||||||
local execute, request, eq = helpers.execute, helpers.request, helpers.eq
|
local execute, request, eq = helpers.execute, helpers.request, helpers.eq
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('color scheme compatibility', function()
|
describe('color scheme compatibility', function()
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
@ -4,6 +4,8 @@ local feed, next_message, eq = helpers.feed, helpers.next_message, helpers.eq
|
|||||||
local expect = helpers.expect
|
local expect = helpers.expect
|
||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('mappings', function()
|
describe('mappings', function()
|
||||||
local cid
|
local cid
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local clear, feed, meths = helpers.clear, helpers.feed, helpers.meths
|
|||||||
local insert, execute = helpers.insert, helpers.execute
|
local insert, execute = helpers.insert, helpers.execute
|
||||||
local eq, funcs = helpers.eq, helpers.funcs
|
local eq, funcs = helpers.eq, helpers.funcs
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('Mouse input', function()
|
describe('Mouse input', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
local session = require('test.functional.helpers')(after_each)
|
local session = require('test.functional.helpers')(after_each)
|
||||||
local child_session = require('test.functional.terminal.helpers')
|
local child_session = require('test.functional.terminal.helpers')
|
||||||
|
|
||||||
|
if session.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe("shell command :!", function()
|
describe("shell command :!", function()
|
||||||
local screen
|
local screen
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
@ -4,6 +4,8 @@ local spawn, set_session, clear = helpers.spawn, helpers.set_session, helpers.cl
|
|||||||
local feed, execute = helpers.feed, helpers.execute
|
local feed, execute = helpers.feed, helpers.execute
|
||||||
local insert = helpers.insert
|
local insert = helpers.insert
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('Initial screen', function()
|
describe('Initial screen', function()
|
||||||
local screen
|
local screen
|
||||||
local nvim_argv = {helpers.nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
|
local nvim_argv = {helpers.nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
|
||||||
|
@ -3,6 +3,8 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
||||||
local execute = helpers.execute
|
local execute = helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('search highlighting', function()
|
describe('search highlighting', function()
|
||||||
local screen
|
local screen
|
||||||
local colors = Screen.colors
|
local colors = Screen.colors
|
||||||
|
@ -2,6 +2,8 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('Signs', function()
|
describe('Signs', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
||||||
local insert = helpers.insert
|
local insert = helpers.insert
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('Screen', function()
|
describe('Screen', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute
|
||||||
local funcs = helpers.funcs
|
local funcs = helpers.funcs
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe("'wildmode'", function()
|
describe("'wildmode'", function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ local clear, feed = helpers.clear, helpers.feed
|
|||||||
local eval, eq, neq = helpers.eval, helpers.eq, helpers.neq
|
local eval, eq, neq = helpers.eval, helpers.eq, helpers.neq
|
||||||
local execute, source, expect = helpers.execute, helpers.source, helpers.expect
|
local execute, source, expect = helpers.execute, helpers.source, helpers.expect
|
||||||
|
|
||||||
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
describe('completion', function()
|
describe('completion', function()
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user