xfail TestTopLevelExprs for Android API 21-22 (llvm.org/pr27787)

llvm-svn: 269759
This commit is contained in:
Tamas Berghammer 2016-05-17 12:42:25 +00:00
parent af34e06c69
commit 75f8f6e111
1 changed files with 4 additions and 2 deletions

View File

@ -50,6 +50,7 @@ class TopLevelExpressionsTestCase(TestBase):
self.runCmd("run", RUN_SUCCEEDED)
@add_test_categories(['pyapi'])
@expectedFailureAndroid(api_levels=[21, 22], bugnumber="llvm.org/pr27787")
def test_top_level_expressions(self):
self.build_and_run()
@ -78,6 +79,7 @@ class TopLevelExpressionsTestCase(TestBase):
for expression in expressions:
self.frame().EvaluateExpression(expression, options)
resultFromTopLevel = self.frame().EvaluateExpression("doTest()").GetValueAsUnsigned()
resultFromTopLevel = self.frame().EvaluateExpression("doTest()")
self.assertEqual(resultFromCode, resultFromTopLevel)
self.assertTrue(resultFromTopLevel.IsValid())
self.assertEqual(resultFromCode, resultFromTopLevel.GetValueAsUnsigned())