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.

llvm-svn: 187533
This commit is contained in:
Matt Kopec 2013-07-31 21:52:25 +00:00
parent 25eef19b48
commit 34237a5fd3
3 changed files with 9 additions and 6 deletions

View File

@ -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."""

View File

@ -21,7 +21,8 @@ class IterateFrameAndDisassembleTestCase(TestBase):
@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(TestBase):
@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()

View File

@ -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"])