[Lldb-commits] [lldb] r175287 - Linux test case cleanup:
Daniel Malea
daniel.malea at intel.com
Fri Feb 15 11:37:48 PST 2013
Author: dmalea
Date: Fri Feb 15 13:37:48 2013
New Revision: 175287
URL: http://llvm.org/viewvc/llvm-project?rev=175287&view=rev
Log:
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
Modified:
lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
lldb/trunk/test/expression_command/call-throws/TestCallThatThrows.py
lldb/trunk/test/expression_command/formatters/TestFormatters.py
lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py
Modified: lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py?rev=175287&r1=175286&r2=175287&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py (original)
+++ lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py Fri Feb 15 13:37:48 2013
@@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(Te
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."""
Modified: lldb/trunk/test/expression_command/call-throws/TestCallThatThrows.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/call-throws/TestCallThatThrows.py?rev=175287&r1=175286&r2=175287&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/call-throws/TestCallThatThrows.py (original)
+++ lldb/trunk/test/expression_command/call-throws/TestCallThatThrows.py Fri Feb 15 13:37:48 2013
@@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(Te
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."""
Modified: lldb/trunk/test/expression_command/formatters/TestFormatters.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/formatters/TestFormatters.py?rev=175287&r1=175286&r2=175287&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/formatters/TestFormatters.py (original)
+++ lldb/trunk/test/expression_command/formatters/TestFormatters.py Fri Feb 15 13:37:48 2013
@@ -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."""
Modified: lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py?rev=175287&r1=175286&r2=175287&view=diff
==============================================================================
--- lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py (original)
+++ lldb/trunk/test/python_api/value/change_values/TestChangeValueAPI.py Fri Feb 15 13:37:48 2013
@@ -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):
More information about the lldb-commits
mailing list