[Lldb-commits] [lldb] r187585 - Update failing tests on Linux for clang and gcc to only fail on Linux instead of all platforms.
Matt Kopec
Matt.Kopec at intel.com
Thu Aug 1 10:22:24 PDT 2013
Author: mkopec
Date: Thu Aug 1 12:22:24 2013
New Revision: 187585
URL: http://llvm.org/viewvc/llvm-project?rev=187585&view=rev
Log:
Update failing tests on Linux for clang and gcc to only fail on Linux instead of all platforms.
Thanks Stefanus!
Modified:
lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py
lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py
Modified: lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py?rev=187585&r1=187584&r2=187585&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py (original)
+++ lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py Thu Aug 1 12:22:24 2013
@@ -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."""
Modified: lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py?rev=187585&r1=187584&r2=187585&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py (original)
+++ lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py Thu Aug 1 12:22:24 2013
@@ -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
@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
@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()
More information about the lldb-commits
mailing list