aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/write_spec.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-10-17 17:16:31 +0200
committerGitHub <noreply@github.com>2022-10-17 17:16:31 +0200
commit5046b4b4adb154bbdb50a5e96e29f777b5f807ac (patch)
tree113ec908fdb52141f5f8adf272f8019715206b56 /test/functional/ex_cmds/write_spec.lua
parentb9632e58e3efa1635acac56cf136595c0b8bcc42 (diff)
downloadrneovim-5046b4b4adb154bbdb50a5e96e29f777b5f807ac.tar.gz
rneovim-5046b4b4adb154bbdb50a5e96e29f777b5f807ac.tar.bz2
rneovim-5046b4b4adb154bbdb50a5e96e29f777b5f807ac.zip
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.
Diffstat (limited to 'test/functional/ex_cmds/write_spec.lua')
-rw-r--r--test/functional/ex_cmds/write_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/ex_cmds/write_spec.lua b/test/functional/ex_cmds/write_spec.lua
index 14035a4341..4045d13153 100644
--- a/test/functional/ex_cmds/write_spec.lua
+++ b/test/functional/ex_cmds/write_spec.lua
@@ -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:~'))