mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
ci: add cirrus to isCI function to skip tests (#20526)
The environment variable CIRRUS_CI is manually passed to RunTests.cmake as it doesn't get passed when using cmake script mode.
This commit is contained in:
@@ -9,7 +9,7 @@ local feed_command = helpers.feed_command
|
||||
local funcs = helpers.funcs
|
||||
local meths = helpers.meths
|
||||
local iswin = helpers.iswin
|
||||
local uname = helpers.uname
|
||||
local isCI = helpers.isCI
|
||||
|
||||
local fname = 'Xtest-functional-ex_cmds-write'
|
||||
local fname_bak = fname .. '~'
|
||||
@@ -53,8 +53,8 @@ describe(':write', function()
|
||||
end)
|
||||
|
||||
it('&backupcopy=no replaces symlink with new file', function()
|
||||
if uname() == 'freebsd' then
|
||||
pending('Failing FreeBSD test')
|
||||
if isCI('cirrus') then
|
||||
pending('FIXME: cirrus')
|
||||
end
|
||||
command('set backupcopy=no')
|
||||
write_file('test_bkc_file.txt', 'content0')
|
||||
@@ -95,8 +95,8 @@ describe(':write', function()
|
||||
end)
|
||||
|
||||
it('errors out correctly', function()
|
||||
if uname() == 'freebsd' then
|
||||
pending('Failing FreeBSD test')
|
||||
if isCI('cirrus') then
|
||||
pending('FIXME: cirrus')
|
||||
end
|
||||
command('let $HOME=""')
|
||||
eq(funcs.fnamemodify('.', ':p:h'), funcs.fnamemodify('.', ':p:h:~'))
|
||||
|
||||
Reference in New Issue
Block a user