[Lldb-commits] [lldb] r150501 - /lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py

Johnny Chen johnny.chen at apple.com
Tue Feb 14 12:04:27 PST 2012


Author: johnny
Date: Tue Feb 14 14:04:26 2012
New Revision: 150501

URL: http://llvm.org/viewvc/llvm-project?rev=150501&view=rev
Log:
Remove @expectedFailure decorators as the bug has been fixed.

Modified:
    lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py

Modified: lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py?rev=150501&r1=150500&r2=150501&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestObjectDescriptionAPI.py Tue Feb 14 14:04:26 2012
@@ -13,7 +13,6 @@
     mydir = os.path.join("lang", "objc", "foundation")
 
     # rdar://problem/10857337
-    @unittest2.expectedFailure
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @python_api_test
     def test_find_global_variables_then_object_description_with_dsym(self):
@@ -24,7 +23,6 @@
         self.find_global_variables_then_object_description('a.out')
 
     # rdar://problem/10857337
-    @unittest2.expectedFailure
     @python_api_test
     def test_find_global_variables_then_object_description_with_dwarf(self):
         """Exercise SBTarget.FindGlobalVariables() API."""
@@ -64,6 +62,7 @@
         # Note my_global_str's object description prints fine here.
         value_list1 = frame0.GetVariables(True, True, True, True)
         for v in value_list1:
+            self.DebugSBValue(v)
             if self.TraceOn():
                 print "val:", v
                 print "object description:", v.GetObjectDescription()
@@ -73,6 +72,7 @@
         # But not here!
         value_list2 = target.FindGlobalVariables('my_global_str', 3)
         for v in value_list2:
+            self.DebugSBValue(v)
             if self.TraceOn():
                 print "val:", v
                 print "object description:", v.GetObjectDescription()





More information about the lldb-commits mailing list