aboutsummaryrefslogtreecommitdiff
path: root/test/lang/cpp/class_types/TestClassTypesDisassembly.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lang/cpp/class_types/TestClassTypesDisassembly.py')
-rw-r--r--test/lang/cpp/class_types/TestClassTypesDisassembly.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/lang/cpp/class_types/TestClassTypesDisassembly.py b/test/lang/cpp/class_types/TestClassTypesDisassembly.py
index 57612d5f5..d11dba1d0 100644
--- a/test/lang/cpp/class_types/TestClassTypesDisassembly.py
+++ b/test/lang/cpp/class_types/TestClassTypesDisassembly.py
@@ -11,6 +11,7 @@ import lldbutil
class IterateFrameAndDisassembleTestCase(TestBase):
mydir = os.path.join("lang", "cpp", "class_types")
+ failing_compilers = ['clang', 'gcc']
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
@@ -21,8 +22,7 @@ class IterateFrameAndDisassembleTestCase(TestBase):
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr14540')
- @expectedFailureClang # due to llvm.org/pr14540
- @expectedFailureGcc # due to llvm.org/pr14540
+ @expectedFailureLinux('llvm.org/pr14540', failing_compilers)
def test_with_dwarf_and_run_command(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
@@ -39,8 +39,7 @@ class IterateFrameAndDisassembleTestCase(TestBase):
@python_api_test
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr14540')
- @expectedFailureClang # due to llvm.org/pr14540
- @expectedFailureGcc # due to llvm.org/pr14540
+ @expectedFailureLinux('llvm.org/pr14540', failing_compilers)
def test_with_dwarf_and_python_api(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()