forked from OSchip/llvm-project
xfail TestTopLevelExprs for Android API 21-22 (llvm.org/pr27787)
llvm-svn: 269759
This commit is contained in:
parent
af34e06c69
commit
75f8f6e111
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue