aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kopec <Matt.Kopec@intel.com>2013-08-01 17:22:24 +0000
committerMatt Kopec <Matt.Kopec@intel.com>2013-08-01 17:22:24 +0000
commita749646c914e6731cb789bcd0f25e5740c47e722 (patch)
tree9c6f5ea4a38bb916f995b77738f5ceb029ef9ac1
parent4349bcb8ec51f3fd447b511b2ce8292a92d3c771 (diff)
downloadlldb-a749646c914e6731cb789bcd0f25e5740c47e722.tar.gz
Update failing tests on Linux for clang and gcc to only fail on Linux instead of all platforms.
Thanks Stefanus! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187585 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/lang/cpp/class_static/TestStaticVariables.py4
-rw-r--r--test/lang/cpp/class_types/TestClassTypesDisassembly.py7
2 files changed, 5 insertions, 6 deletions
diff --git a/test/lang/cpp/class_static/TestStaticVariables.py b/test/lang/cpp/class_static/TestStaticVariables.py
index bf7d962da..d1f9f8118 100644
--- a/test/lang/cpp/class_static/TestStaticVariables.py
+++ b/test/lang/cpp/class_static/TestStaticVariables.py
@@ -11,6 +11,7 @@ import lldbutil
class StaticVariableTestCase(TestBase):
mydir = os.path.join("lang", "cpp", "class_static")
+ failing_compilers = ['clang', 'gcc']
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
@@ -19,8 +20,7 @@ class StaticVariableTestCase(TestBase):
self.buildDsym()
self.static_variable_commands()
- @expectedFailureClang # llvm.org/pr15261: lldb on Linux does not display the size of (class or file)static arrays
- @expectedFailureGcc # llvm.org/pr15261: lldb on Linux does not display the size of (class or file)static arrays
+ @expectedFailureLinux('llvm.org/pr15261', failing_compilers) # lldb on Linux does not display the size of (class or file)static arrays
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that file and class static variables display correctly."""
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()