aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/unit/helpers.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index fbcbda7d58..9d200a8721 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -378,6 +378,10 @@ local function gen_itp(it)
'assertion.just_fail.positive',
'assertion.just_fail.negative')
local function itp(name, func, allow_failure)
+ if allow_failure and os.getenv('NVIM_TEST_RUN_FAILING_TESTS') ~= '1' then
+ -- FIXME Fix tests with this true
+ return
+ end
it(name, function()
local rd, wr = sc.pipe()
local pid = sc.fork()