Skip TestWatchedVarHitWhenInScope on android arm because it triggers a kernel bug

llvm-svn: 303160
This commit is contained in:
Pavel Labath 2017-05-16 11:58:18 +00:00
parent 8680b6ee9c
commit 26d49a640a
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import time
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.decorators import *
class WatchedVariableHitWhenInScopeTestCase(TestBase):
@ -33,6 +34,8 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase):
self.exe_name = self.testMethodName
self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
# Test hangs due to a kernel bug, see fdfeff0f in the linux kernel for details
@skipIfTargetAndroid(api_levels=list(range(25+1)), archs=["aarch64", "arm"])
@unittest2.expectedFailure("rdar://problem/18685649")
def test_watched_var_should_only_hit_when_in_scope(self):
"""Test that a variable watchpoint should only hit when in scope."""

View File

@ -46,7 +46,7 @@ using namespace std::chrono;
namespace {
const seconds kReadTimeout(8);
const seconds kReadTimeout(12);
const char *kOKAY = "OKAY";
const char *kFAIL = "FAIL";
const char *kDATA = "DATA";