diff options
-rw-r--r-- | test/functionalities/inline-stepping/TestInlineStepping.py | 1 | ||||
-rw-r--r-- | test/functionalities/return-value/TestReturnValue.py | 6 | ||||
-rw-r--r-- | test/lang/c/struct_types/TestStructTypes.py | 9 |
3 files changed, 11 insertions, 5 deletions
diff --git a/test/functionalities/inline-stepping/TestInlineStepping.py b/test/functionalities/inline-stepping/TestInlineStepping.py index 379fc3a4c..16ee80f74 100644 --- a/test/functionalities/inline-stepping/TestInlineStepping.py +++ b/test/functionalities/inline-stepping/TestInlineStepping.py @@ -20,6 +20,7 @@ class TestInlineStepping(TestBase): @python_api_test @dwarf_test + @expectedFailureIcc # Not really a bug. ICC combines two inlined functions. def test_with_dwarf_and_python_api(self): """Test stepping over and into inlined functions.""" self.buildDwarf() diff --git a/test/functionalities/return-value/TestReturnValue.py b/test/functionalities/return-value/TestReturnValue.py index f5673e24d..c520c5034 100644 --- a/test/functionalities/return-value/TestReturnValue.py +++ b/test/functionalities/return-value/TestReturnValue.py @@ -211,8 +211,10 @@ class ReturnValueTestCase(TestBase): #self.return_and_test_struct_value ("return_one_int_one_double_packed") self.return_and_test_struct_value ("return_one_int_one_long") - self.return_and_test_struct_value ("return_vector_size_float32") - self.return_and_test_struct_value ("return_ext_vector_size_float32") + # icc and gcc don't support this extension. + if self.getCompiler().endswith('clang'): + self.return_and_test_struct_value ("return_vector_size_float32") + self.return_and_test_struct_value ("return_ext_vector_size_float32") if __name__ == '__main__': diff --git a/test/lang/c/struct_types/TestStructTypes.py b/test/lang/c/struct_types/TestStructTypes.py index e716a69ed..b98351353 100644 --- a/test/lang/c/struct_types/TestStructTypes.py +++ b/test/lang/c/struct_types/TestStructTypes.py @@ -23,6 +23,9 @@ class StructTypesTestCase(TestBase): self.struct_types() # rdar://problem/12566646 + @expectedFailureIcc # llvm.org/pr16793 + # ICC generates DW_AT_byte_size zero with a zero-length + # array and LLDB doesn't process it correctly. @dwarf_test def test_with_dwarf(self): """Test that break on a struct declaration has no effect.""" @@ -75,14 +78,14 @@ class StructTypesTestCase(TestBase): # Test zero length array access and make sure it succeeds with "frame variable" self.expect("frame variable pt.padding[0]", DATA_TYPES_DISPLAYED_CORRECTLY, - substrs = ["pt.padding[0] = '"]) + substrs = ["pt.padding[0] = "]) self.expect("frame variable pt.padding[1]", DATA_TYPES_DISPLAYED_CORRECTLY, - substrs = ["pt.padding[1] = '"]) + substrs = ["pt.padding[1] = "]) # Test zero length array access and make sure it succeeds with "expression" self.expect("expression -- (pt.padding[0])", DATA_TYPES_DISPLAYED_CORRECTLY, - substrs = ["(char)", " = '"]) + substrs = ["(char)", " = "]) # The padding should be an array of size 0 self.expect("image lookup -t point_tag", |