From 654b12c6a54794ab3d793b63b868921a3822369a Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Fri, 15 Feb 2013 19:37:48 +0000 Subject: [PATCH] Linux test case cleanup: - Enable TestFormatters.py: expressions with "new" work - Enable TestChangeValueAPI.py: llvm.org/PR15039 fixed - Disable expression_command/call-restarts due to llvm.org/PR15278 - Disable expression_command/call-throws due to ObjC test program llvm-svn: 175287 --- lldb/test/expression_command/call-restarts/TestCallThatRestarts.py | 1 + lldb/test/expression_command/call-throws/TestCallThatThrows.py | 1 + lldb/test/expression_command/formatters/TestFormatters.py | 1 - lldb/test/python_api/value/change_values/TestChangeValueAPI.py | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py index 8fd9bb8..80d277d 100644 --- a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py @@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase): self.buildDsym() self.call_function() + @skipOnLinux # PR-15278: handle expressions that generate signals on Linux @dwarf_test def test_with_dwarf(self): """Test calling std::String member function.""" diff --git a/lldb/test/expression_command/call-throws/TestCallThatThrows.py b/lldb/test/expression_command/call-throws/TestCallThatThrows.py index 5e04a67..596c3ef 100644 --- a/lldb/test/expression_command/call-throws/TestCallThatThrows.py +++ b/lldb/test/expression_command/call-throws/TestCallThatThrows.py @@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase): self.buildDsym() self.call_function() + @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin due to ObjC test case") @dwarf_test def test_with_dwarf(self): """Test calling std::String member function.""" diff --git a/lldb/test/expression_command/formatters/TestFormatters.py b/lldb/test/expression_command/formatters/TestFormatters.py index e706e29..8f312f6 100644 --- a/lldb/test/expression_command/formatters/TestFormatters.py +++ b/lldb/test/expression_command/formatters/TestFormatters.py @@ -25,7 +25,6 @@ class ExprFormattersTestCase(TestBase): self.buildDsym() self.do_my_test() - @expectedFailureLinux # bugzilla 14437 @dwarf_test def test_with_dwarf(self): """Test expr + formatters for good interoperability.""" diff --git a/lldb/test/python_api/value/change_values/TestChangeValueAPI.py b/lldb/test/python_api/value/change_values/TestChangeValueAPI.py index 9af232e..26f849b 100644 --- a/lldb/test/python_api/value/change_values/TestChangeValueAPI.py +++ b/lldb/test/python_api/value/change_values/TestChangeValueAPI.py @@ -22,7 +22,6 @@ class ChangeValueAPITestCase(TestBase): self.setTearDownCleanup(dictionary=d) self.change_value_api(self.exe_name) - @expectedFailureLinux # bugzilla 15039: SBProcess.GetSTDOUT() returns an empty buffer @python_api_test @dwarf_test def test_change_value_with_dwarf(self): -- 2.7.4