[Lldb-commits] [lldb] r182159 - Avoided the use of two test decorators with xfail/xpass logic in the same test.
Ashok Thirumurthi
ashok.thirumurthi at intel.com
Fri May 17 14:00:56 PDT 2013
Author: athirumu
Date: Fri May 17 16:00:56 2013
New Revision: 182159
URL: http://llvm.org/viewvc/llvm-project?rev=182159&view=rev
Log:
Avoided the use of two test decorators with xfail/xpass logic in the same test.
- Used xfail and skip, temporarily, while resolving bugzilla #15671.
Modified:
lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py
Modified: lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py?rev=182159&r1=182158&r2=182159&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py (original)
+++ lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py Fri May 17 16:00:56 2013
@@ -15,8 +15,8 @@ class AssertingInferiorTestCase(TestBase
self.buildDsym()
self.inferior_asserting()
- @expectedFailureLinux(15671, ['clang', 'icc']) # llvm.org/pr15671 - backtrace does not include the assert site
- @expectedFailureGcc(15671, ['>=', '4.6.3']) # avoid an xpass on the buildbots where libc was not built with -fomit-frame-pointer
+ @skipIfGcc # avoid an xpass on the buildbots where libc was not built with -fomit-frame-pointer
+ @expectedFailureLinux # llvm.org/pr15671 - backtrace does not include the assert site
def test_inferior_asserting_dwarf(self):
"""Test that lldb reliably catches the inferior asserting (command)."""
self.buildDwarf()
@@ -45,8 +45,8 @@ class AssertingInferiorTestCase(TestBase
self.buildDsym()
self.inferior_asserting_expr()
- @expectedFailureLinux(15671, ['clang', 'icc']) # llvm.org/pr15671 - backtrace does not include the assert site
- @expectedFailureGcc(15671, ['>=', '4.6.3']) # avoid an xpass on the buildbots where libc was not built with -fomit-frame-pointer
+ @skipIfGcc # avoid an xpass on the buildbots where libc was not built with -fomit-frame-pointer
+ @expectedFailureLinux # llvm.org/pr15671 - backtrace does not include the assert site
def test_inferior_asserting_expr(self):
"""Test that the lldb expression interpreter can read from the inferior after asserting (command)."""
self.buildDwarf()
@@ -58,8 +58,8 @@ class AssertingInferiorTestCase(TestBase
self.buildDsym()
self.inferior_asserting_step()
- @expectedFailureLinux(15671, ['clang', 'icc']) # llvm.org/pr15671 - backtrace does not include the assert site
- @expectedFailureGcc(15671, ['>=', '4.6.3']) # avoid an xpass on the buildbots where libc was not built with -fomit-frame-pointer
+ @skipIfGcc # avoid an xpass on the buildbots where libc was not built with -fomit-frame-pointer
+ @expectedFailureLinux # llvm.org/pr15671 - backtrace does not include the assert site
def test_inferior_asserting_step(self):
"""Test that lldb functions correctly after stepping through a call to assert()."""
self.buildDwarf()
More information about the lldb-commits
mailing list