[Lldb-commits] [lldb] r113244 - in /lldb/trunk/test: struct_types/TestStructTypes.py unsigned_types/TestUnsignedTypes.py
Johnny Chen
johnny.chen at apple.com
Tue Sep 7 11:32:58 PDT 2010
Author: johnny
Date: Tue Sep 7 13:32:57 2010
New Revision: 113244
URL: http://llvm.org/viewvc/llvm-project?rev=113244&view=rev
Log:
Converted TestUnsignedTypespy and TestStructTypes.py to Dsym/Dwarf combination.
Modified:
lldb/trunk/test/struct_types/TestStructTypes.py
lldb/trunk/test/unsigned_types/TestUnsignedTypes.py
Modified: lldb/trunk/test/struct_types/TestStructTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/struct_types/TestStructTypes.py?rev=113244&r1=113243&r2=113244&view=diff
==============================================================================
--- lldb/trunk/test/struct_types/TestStructTypes.py (original)
+++ lldb/trunk/test/struct_types/TestStructTypes.py Tue Sep 7 13:32:57 2010
@@ -13,7 +13,18 @@
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)
Modified: lldb/trunk/test/unsigned_types/TestUnsignedTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/unsigned_types/TestUnsignedTypes.py?rev=113244&r1=113243&r2=113244&view=diff
==============================================================================
--- lldb/trunk/test/unsigned_types/TestUnsignedTypes.py (original)
+++ lldb/trunk/test/unsigned_types/TestUnsignedTypes.py Tue Sep 7 13:32:57 2010
@@ -12,7 +12,18 @@
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)
More information about the lldb-commits
mailing list