test: skip_fragile(), TEST_SKIP_FRAGILE

Let build systems define TEST_SKIP_FRAGILE to skip tests that are known to be
resource-intensive (unreliable on slow systems).

References https://github.com/neovim/neovim/pull/5488#issuecomment-265622113
This commit is contained in:
Justin M. Keyes
2017-01-04 04:10:38 +01:00
parent f4d326cf10
commit e03b43bd07
3 changed files with 35 additions and 10 deletions

View File

@@ -11,6 +11,12 @@ describe("CTRL-C (mapped)", function()
end)
it("interrupts :global", function()
if helpers.skip_fragile(pending,
(os.getenv("TRAVIS") and os.getenv("CLANG_SANITIZER") == "ASAN_UBSAN"))
then
return
end
source([[
set nomore nohlsearch undolevels=-1
nnoremap <C-C> <NOP>