diff options
-rw-r--r-- | lldb/test/struct_types/TestStructTypes.py | 13 | ||||
-rw-r--r-- | lldb/test/unsigned_types/TestUnsignedTypes.py | 13 |
2 files changed, 24 insertions, 2 deletions
diff --git a/lldb/test/struct_types/TestStructTypes.py b/lldb/test/struct_types/TestStructTypes.py index e7fc6726d5c..8c94b1e7cd7 100644 --- a/lldb/test/struct_types/TestStructTypes.py +++ b/lldb/test/struct_types/TestStructTypes.py @@ -13,7 +13,18 @@ class StructTypesTestCase(TestBase): mydir = "struct_types" - def test_struct_types(self): + @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") + def test_with_dsym(self): + """Test that break on a struct declaration has no effect.""" + self.buildDsym() + self.struct_types() + + def test_with_dwarf(self): + """Test that break on a struct declaration has no effect.""" + self.buildDwarf() + self.struct_types() + + def struct_types(self): """Test that break on a struct declaration has no effect.""" exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) diff --git a/lldb/test/unsigned_types/TestUnsignedTypes.py b/lldb/test/unsigned_types/TestUnsignedTypes.py index d22e7abbdc5..c60a525b000 100644 --- a/lldb/test/unsigned_types/TestUnsignedTypes.py +++ b/lldb/test/unsigned_types/TestUnsignedTypes.py @@ -12,7 +12,18 @@ class UnsignedTypesTestCase(TestBase): mydir = "unsigned_types" - def test_unsigned_types(self): + @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") + def test_with_dsym(self): + """Test that variables with unsigned types display correctly.""" + self.buildDsym() + self.unsigned_types() + + def test_with_dwarf(self): + """Test that variables with unsigned types display correctly.""" + self.buildDwarf() + self.unsigned_types() + + def unsigned_types(self): """Test that variables with unsigned types display correctly.""" exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) |