More test case cleanup (Linux and Mac):
authorDaniel Malea <daniel.malea@intel.com>
Fri, 15 Feb 2013 21:27:14 +0000 (21:27 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Fri, 15 Feb 2013 21:27:14 +0000 (21:27 +0000)
- remove expectedFailure decorator from resolved rdar 12566646 and 10887661
- remove expectedFailure from TestBitfields testcase not actually affected by bug
- skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux

llvm-svn: 175307

lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py
lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
lldb/test/lang/c/bitfields/TestBitfields.py
lldb/test/lang/c/struct_types/TestStructTypes.py

index 9c41b9c..16db113 100644 (file)
@@ -13,7 +13,6 @@ class Rdar10887661TestCase(TestBase):
     mydir = os.path.join("functionalities", "data-formatter", "rdar-10887661")
 
     # rdar://problem/10887661
-    @unittest2.expectedFailure
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dsym_test
     def test_with_dsym_and_run_command(self):
@@ -22,7 +21,6 @@ class Rdar10887661TestCase(TestBase):
         self.capping_test_commands()
 
     # rdar://problem/10887661
-    @unittest2.expectedFailure
     @dwarf_test
     def test_with_dwarf_and_run_command(self):
         """Check for an issue where capping does not work because the Target pointer appears to be changing behind our backs."""
index af50277..eac7392 100644 (file)
@@ -19,7 +19,7 @@ class StopHookMechanismTestCase(TestBase):
         self.buildDsym()
         self.stop_hook_firing()
 
-    @expectedFailureLinux # bugzilla 15037: stop-hooks sometimes fail to fire on Linux
+    @skipOnLinux # PR-15037: stop-hooks sometimes fail to fire on Linux (disabled to avoid needless noise)
     @dwarf_test
     def test_with_dwarf(self):
         """Test the stop-hook mechanism."""
index df2448e..489dc86 100644 (file)
@@ -32,7 +32,6 @@ class BitfieldsTestCase(TestBase):
         self.buildDwarf()
         self.bitfields_variable()
 
-    @expectedFailureLinux # PR-15260: lldb on Linux does not display the correct value of 1-bit fields in a struct
     @python_api_test
     @dwarf_test
     def test_with_dwarf_and_python_api(self):
index 6dc2a3c..62ebf8e 100644 (file)
@@ -15,7 +15,6 @@ class StructTypesTestCase(TestBase):
     mydir = os.path.join("lang", "c", "struct_types")
 
     # rdar://problem/12566646
-    @unittest2.expectedFailure
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dsym_test
     def test_with_dsym(self):
@@ -24,7 +23,6 @@ class StructTypesTestCase(TestBase):
         self.struct_types()
 
     # rdar://problem/12566646
-    @unittest2.expectedFailure
     @dwarf_test
     def test_with_dwarf(self):
         """Test that break on a struct declaration has no effect."""