Skip tests that assert on Linux in RecordLayoutBuilder::updateExternalFieldOffset()
authorDaniel Malea <daniel.malea@intel.com>
Wed, 13 Feb 2013 18:56:41 +0000 (18:56 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Wed, 13 Feb 2013 18:56:41 +0000 (18:56 +0000)
- Filed bugzilla PR-15256

llvm-svn: 175065

lldb/test/expression_command/call-function/TestCallStdStringFunction.py
lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
lldb/test/functionalities/type_completion/TestTypeCompletion.py
lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
lldb/test/lang/c/anonymous/TestAnonymous.py
lldb/test/lang/cpp/stl/TestSTL.py
lldb/test/lang/cpp/this/TestCPPThis.py

index 9d41314..3c8f66a 100644 (file)
@@ -25,7 +25,7 @@ class ExprCommandCallFunctionTestCase(TestBase):
         self.buildDsym()
         self.call_function()
 
-    @expectedFailureLinux # bugzilla 14437
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_with_dwarf(self):
         """Test calling std::String member function."""
index 303b96d..6fe5bf7 100644 (file)
@@ -19,7 +19,7 @@ class SkipSummaryDataFormatterTestCase(TestBase):
         self.buildDsym()
         self.data_formatter_commands()
 
-    @skipIfGcc # bugzilla 15036: if compiled with GCC 4.6 (but not 4.4) lldb crashes with assertion in RecordLayoutBuilder: "field does not have external offset"
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Test data formatter commands."""
index 307d639..832ca5a 100644 (file)
@@ -19,6 +19,7 @@ class StdListDataFormatterTestCase(TestBase):
         self.buildDsym()
         self.data_formatter_commands()
 
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Test data formatter commands."""
index d6b89e0..bdf0ee6 100644 (file)
@@ -19,6 +19,7 @@ class TypeCompletionTestCase(TestBase):
         self.buildDsym()
         self.type_completion_commands()
 
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Check that types only get completed when necessary."""
index da734d1..d2bbd0c 100644 (file)
@@ -21,7 +21,8 @@ class HelloWatchLocationTestCase(TestBase):
         self.setTearDownCleanup(dictionary=self.d)
         self.hello_watchlocation()
 
-    @expectedFailureLinux # bugzilla 14416
+    #@expectedFailureLinux # bugzilla 14416
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_hello_watchlocation_with_dwarf(self):
         """Test watching a location with '-x size' option."""
index 10e8d75..d87a10e 100644 (file)
@@ -20,7 +20,8 @@ class WatchLocationUsingWatchpointSetTestCase(TestBase):
         self.setTearDownCleanup(dictionary=self.d)
         self.watchlocation_using_watchpoint_set()
 
-    @expectedFailureLinux # bugzilla 14416
+    #@expectedFailureLinux # bugzilla 14416
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_watchlocation_with_dwarf_using_watchpoint_set(self):
         """Test watching a location with 'watchpoint set expression -w write -x size' option."""
index ca90e2b..d30a25f 100644 (file)
@@ -12,6 +12,7 @@ class WatchpointSetErrorTestCase(TestBase):
 
     mydir = os.path.join("functionalities", "watchpoint", "watchpoint_set_command")
 
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     def test_error_cases_with_watchpoint_set(self):
         """Test error cases with the 'watchpoint set' command."""
         self.buildDwarf(dictionary=self.d)
index 43b5dda..379e410 100644 (file)
@@ -15,7 +15,7 @@ class AnonymousTestCase(TestBase):
         self.buildDsym()
         self.expr()
 
-    @skipIfGcc # bugzilla 15036: When built with GCC, causes linux crash in RecordLayoutBuilder.cpp:2272: "Field does not have an external offset"
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_expr_with_dwarf(self):
         self.buildDwarf()
index 5321933..7727f0d 100644 (file)
@@ -22,6 +22,7 @@ class STLTestCase(TestBase):
         self.step_stl_exprs()
 
     # rdar://problem/10400981
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @unittest2.expectedFailure
     @dwarf_test
     def test_with_dwarf(self):
@@ -36,7 +37,7 @@ class STLTestCase(TestBase):
         self.buildDsym()
         self.sbtype_template_apis()
 
-    @skipIfGcc # bugzilla 15036: crashes during DWARF parsing when built with GCC
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @python_api_test
     @dwarf_test
     def test_SBType_template_aspects_with_dwarf(self):
index 60e442c..167c11d 100644 (file)
@@ -20,7 +20,7 @@ class CPPThisTestCase(TestBase):
 
     #rdar://problem/9962849
     #@expectedFailureClang
-    @skipIfGcc # bugzilla 15036: When built with GCC, causes linux crash in RecordLayoutBuilder.cpp:2272: "Field does not have an external offset"
+    @skipOnLinux #PR-15256: assertion failure in RecordLayoutBuilder::updateExternalFieldOffset
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Test that the appropriate member variables are available when stopped in C++ static, inline, and const methods"""