From e78ecc2cc70b48907fdaea4dbadf0aecb84f2f86 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Fri, 15 Feb 2013 21:27:14 +0000 Subject: [PATCH] More test case cleanup (Linux and Mac): - 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 --- .../functionalities/data-formatter/rdar-10887661/TestRdar10887661.py | 2 -- lldb/test/functionalities/stop-hook/TestStopHookMechanism.py | 2 +- lldb/test/lang/c/bitfields/TestBitfields.py | 1 - lldb/test/lang/c/struct_types/TestStructTypes.py | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py b/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py index 9c41b9c..16db113 100644 --- a/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py +++ b/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py @@ -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.""" diff --git a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py index af50277..eac7392 100644 --- a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py +++ b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py @@ -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.""" diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py index df2448e..489dc86 100644 --- a/lldb/test/lang/c/bitfields/TestBitfields.py +++ b/lldb/test/lang/c/bitfields/TestBitfields.py @@ -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): diff --git a/lldb/test/lang/c/struct_types/TestStructTypes.py b/lldb/test/lang/c/struct_types/TestStructTypes.py index 6dc2a3c..62ebf8e 100644 --- a/lldb/test/lang/c/struct_types/TestStructTypes.py +++ b/lldb/test/lang/c/struct_types/TestStructTypes.py @@ -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.""" -- 2.7.4