[Lldb-commits] [lldb] r113028 - /lldb/trunk/test/enum_types/TestEnumTypes.py

Johnny Chen johnny.chen at apple.com
Fri Sep 3 16:10:24 PDT 2010


Author: johnny
Date: Fri Sep  3 18:10:24 2010
New Revision: 113028

URL: http://llvm.org/viewvc/llvm-project?rev=113028&view=rev
Log:
Converted TestEnumTypes.py to Dsym/Dwarf combination.
Marked test_with_dwarf() as expectedFailure where 'image lookup -t days' returns nothing.

Modified:
    lldb/trunk/test/enum_types/TestEnumTypes.py

Modified: lldb/trunk/test/enum_types/TestEnumTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/enum_types/TestEnumTypes.py?rev=113028&r1=113027&r2=113028&view=diff
==============================================================================
--- lldb/trunk/test/enum_types/TestEnumTypes.py (original)
+++ lldb/trunk/test/enum_types/TestEnumTypes.py Fri Sep  3 18:10:24 2010
@@ -9,7 +9,21 @@
 
     mydir = "enum_types"
 
-    def test_image_lookup_for_enum_type(self):
+    @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+    def test_with_dsym(self):
+        """Test 'image lookup -t days' and check for correct display."""
+        self.buildDsym()
+        self.image_lookup_for_enum_type()
+
+    # rdar://problem/8394746
+    # 'image lookup -t days' returns nothing with dwarf debug format.
+    @unittest2.expectedFailure
+    def test_with_dwarf(self):
+        """Test 'image lookup -t days' and check for correct display."""
+        self.buildDwarf()
+        self.image_lookup_for_enum_type()
+
+    def image_lookup_for_enum_type(self):
         """Test 'image lookup -t days' and check for correct display."""
         exe = os.path.join(os.getcwd(), "a.out")
         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)





More information about the lldb-commits mailing list