test: Disable unreliable tests on travis+ASAN_UBSAN

This commit is contained in:
Justin M. Keyes 2016-12-07 13:22:13 +01:00
parent 1a4f13ba8f
commit a1b0f594ea

View File

@ -153,8 +153,9 @@ describe('Mouse input', function()
end)
it('in tabline to the left moves tab left', function()
if os.getenv("TRAVIS") and helpers.os_name() == "osx" then
pending("[Fails on Travis macOS. #4874]", function() end)
if os.getenv("TRAVIS") and (helpers.os_name() == "osx"
or os.getenv("CLANG_SANITIZER") == "ASAN_UBSAN") then
pending("[Fails on Travis macOS, ASAN_UBSAN. #4874]", function() end)
return
end
@ -256,8 +257,9 @@ describe('Mouse input', function()
end)
it('out of tabline to the left moves tab left', function()
if os.getenv("TRAVIS") and helpers.os_name() == "osx" then
pending("[Fails on Travis macOS. #4874]", function() end)
if os.getenv("TRAVIS") and (helpers.os_name() == "osx"
or os.getenv("CLANG_SANITIZER") == "ASAN_UBSAN") then
pending("[Fails on Travis macOS, ASAN_UBSAN. #4874]", function() end)
return
end