aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/man_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/plugin/man_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/plugin/man_spec.lua')
-rw-r--r--test/functional/plugin/man_spec.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/plugin/man_spec.lua b/test/functional/plugin/man_spec.lua
index 203424c855..ebf131fd4a 100644
--- a/test/functional/plugin/man_spec.lua
+++ b/test/functional/plugin/man_spec.lua
@@ -8,6 +8,7 @@ local nvim_prog = helpers.nvim_prog
local matches = helpers.matches
local write_file = helpers.write_file
local tmpname = helpers.tmpname
+local isCI = helpers.isCI
clear()
if funcs.executable('man') == 0 then
@@ -160,6 +161,9 @@ describe(':Man', function()
end)
it('reports non-existent man pages for absolute paths', function()
+ if isCI('cirrus') then
+ pending('FIXME: cirrus')
+ end
local actual_file = tmpname()
-- actual_file must be an absolute path to an existent file for us to test against it
matches('^/.+', actual_file)