aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/fileio_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/core/fileio_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/core/fileio_spec.lua')
-rw-r--r--test/functional/core/fileio_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua
index d1ff5b8036..07774866a8 100644
--- a/test/functional/core/fileio_spec.lua
+++ b/test/functional/core/fileio_spec.lua
@@ -25,7 +25,7 @@ local expect_exit = helpers.expect_exit
local write_file = helpers.write_file
local Screen = require('test.functional.ui.screen')
local feed_command = helpers.feed_command
-local uname = helpers.uname
+local isCI = helpers.isCI
describe('fileio', function()
before_each(function()
@@ -87,8 +87,8 @@ describe('fileio', function()
end)
it('backup #9709', function()
- if uname() == 'freebsd' then
- pending('Failing FreeBSD test')
+ if isCI('cirrus') then
+ pending('FIXME: cirrus')
end
clear({ args={ '-i', 'Xtest_startup_shada',
'--cmd', 'set directory=Xtest_startup_swapdir' } })
@@ -109,8 +109,8 @@ describe('fileio', function()
end)
it('backup with full path #11214', function()
- if uname() == 'freebsd' then
- pending('Failing FreeBSD test')
+ if isCI('cirrus') then
+ pending('FIXME: cirrus')
end
clear()
mkdir('Xtest_backupdir')