From: Daniel Malea Date: Wed, 13 Feb 2013 18:56:41 +0000 (+0000) Subject: Skip tests that assert on Linux in RecordLayoutBuilder::updateExternalFieldOffset() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4068918579fae0efc48c47bb38eee7b25ed12f9;p=platform%2Fupstream%2Fllvm.git Skip tests that assert on Linux in RecordLayoutBuilder::updateExternalFieldOffset() - Filed bugzilla PR-15256 llvm-svn: 175065 --- diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py index 9d41314..3c8f66a 100644 --- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py +++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py @@ -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.""" diff --git a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py b/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py index 303b96d..6fe5bf7 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py @@ -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.""" diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py index 307d639..832ca5a 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py @@ -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.""" diff --git a/lldb/test/functionalities/type_completion/TestTypeCompletion.py b/lldb/test/functionalities/type_completion/TestTypeCompletion.py index d6b89e0..bdf0ee6 100644 --- a/lldb/test/functionalities/type_completion/TestTypeCompletion.py +++ b/lldb/test/functionalities/type_completion/TestTypeCompletion.py @@ -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.""" diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py b/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py index da734d19..d2bbd0c 100644 --- a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py +++ b/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py @@ -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.""" diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py index 10e8d75..d87a10e 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py @@ -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.""" diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py index ca90e2b..d30a25f 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py @@ -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) diff --git a/lldb/test/lang/c/anonymous/TestAnonymous.py b/lldb/test/lang/c/anonymous/TestAnonymous.py index 43b5dda..379e410 100644 --- a/lldb/test/lang/c/anonymous/TestAnonymous.py +++ b/lldb/test/lang/c/anonymous/TestAnonymous.py @@ -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() diff --git a/lldb/test/lang/cpp/stl/TestSTL.py b/lldb/test/lang/cpp/stl/TestSTL.py index 5321933..7727f0d 100644 --- a/lldb/test/lang/cpp/stl/TestSTL.py +++ b/lldb/test/lang/cpp/stl/TestSTL.py @@ -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): diff --git a/lldb/test/lang/cpp/this/TestCPPThis.py b/lldb/test/lang/cpp/this/TestCPPThis.py index 60e442c..167c11d 100644 --- a/lldb/test/lang/cpp/this/TestCPPThis.py +++ b/lldb/test/lang/cpp/this/TestCPPThis.py @@ -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"""