[Lldb-commits] [lldb] r187533 - Mark some tests as explicitly failing on clang/gcc as they pass on icc.
Matt Kopec
Matt.Kopec at intel.com
Wed Jul 31 14:52:25 PDT 2013
Author: mkopec
Date: Wed Jul 31 16:52:25 2013
New Revision: 187533
URL: http://llvm.org/viewvc/llvm-project?rev=187533&view=rev
Log:
Mark some tests as explicitly failing on clang/gcc as they pass on icc.
Also, rework the signed types test to check for signed or char type in the output as char is signed by default.
Modified:
lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py
lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py
lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.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=187533&r1=187532&r2=187533&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py (original)
+++ lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py Wed Jul 31 16:52:25 2013
@@ -19,7 +19,8 @@ class StaticVariableTestCase(TestBase):
self.buildDsym()
self.static_variable_commands()
- @expectedFailureLinux # llvm.org/pr15261: lldb on Linux does not display the size of (class or file)static arrays
+ @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
@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=187533&r1=187532&r2=187533&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py (original)
+++ lldb/trunk/test/lang/cpp/class_types/TestClassTypesDisassembly.py Wed Jul 31 16:52:25 2013
@@ -21,7 +21,8 @@ class IterateFrameAndDisassembleTestCase
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr14540')
- @expectedFailureLinux # due to llvm.org/pr14540
+ @expectedFailureClang # due to llvm.org/pr14540
+ @expectedFailureGcc # due to llvm.org/pr14540
def test_with_dwarf_and_run_command(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
@@ -38,7 +39,8 @@ class IterateFrameAndDisassembleTestCase
@python_api_test
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr14540')
- @expectedFailureLinux # due to llvm.org/pr14540
+ @expectedFailureClang # due to llvm.org/pr14540
+ @expectedFailureGcc # due to llvm.org/pr14540
def test_with_dwarf_and_python_api(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
Modified: lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py?rev=187533&r1=187532&r2=187533&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py (original)
+++ lldb/trunk/test/lang/cpp/signed_types/TestSignedTypes.py Wed Jul 31 16:52:25 2013
@@ -55,9 +55,9 @@ class UnsignedTypesTestCase(TestBase):
# Test that signed types display correctly.
self.expect("frame variable --show-types --no-args", VARIABLES_DISPLAYED_CORRECTLY,
- patterns = ["\((short int|short)\) the_signed_short = 99"],
- substrs = ["(signed char) the_signed_char = 'c'",
- "(int) the_signed_int = 99",
+ patterns = ["\((short int|short)\) the_signed_short = 99",
+ "\((signed char|char)\) the_signed_char = 'c'"],
+ substrs = ["(int) the_signed_int = 99",
"(long) the_signed_long = 99",
"(long long) the_signed_long_long = 99"])
More information about the lldb-commits
mailing list