Linux test case cleanup:
authorDaniel Malea <daniel.malea@intel.com>
Fri, 15 Feb 2013 19:37:48 +0000 (19:37 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Fri, 15 Feb 2013 19:37:48 +0000 (19:37 +0000)
- 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
lldb/test/expression_command/call-throws/TestCallThatThrows.py
lldb/test/expression_command/formatters/TestFormatters.py
lldb/test/python_api/value/change_values/TestChangeValueAPI.py

index 8fd9bb8..80d277d 100644 (file)
@@ -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."""
index 5e04a67..596c3ef 100644 (file)
@@ -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."""
index e706e29..8f312f6 100644 (file)
@@ -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."""
index 9af232e..26f849b 100644 (file)
@@ -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):