Skip to content

Commit

Permalink
[lldb/test] Skip test in TestBitfieldIvars.py instead of xfailing it
Browse files Browse the repository at this point in the history
The test triggers an ASan exception, causing job failures on the
sanitizer bot.

As suggested by Shafik.
  • Loading branch information
vedantk committed Jul 21, 2020
1 parent ff63d6b commit 46334df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py
Expand Up @@ -27,7 +27,9 @@ def test(self):
'field2 =', '3',
'field3 =', '4'])

@expectedFailureAll()
# This test is meant to be xfailed, but running the test triggers an ASan
# issue, so it must be skipped for now.
@skipIf
def testExprWholeObject(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.m"))
Expand Down

0 comments on commit 46334df

Please sign in to comment.