[Lldb-commits] [lldb] r116645 - /lldb/trunk/test/foundation/TestObjCMethods.py

Johnny Chen johnny.chen at apple.com
Fri Oct 15 16:35:32 PDT 2010


Author: johnny
Date: Fri Oct 15 18:35:32 2010
New Revision: 116645

URL: http://llvm.org/viewvc/llvm-project?rev=116645&view=rev
Log:
Remove the @expectedFailure decorators, as rdar://problem/8542091 is supposed to be fixed.
Also change the expected matching pattern of the 'expr -o -- my' output.

Modified:
    lldb/trunk/test/foundation/TestObjCMethods.py

Modified: lldb/trunk/test/foundation/TestObjCMethods.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/foundation/TestObjCMethods.py?rev=116645&r1=116644&r2=116645&view=diff
==============================================================================
--- lldb/trunk/test/foundation/TestObjCMethods.py (original)
+++ lldb/trunk/test/foundation/TestObjCMethods.py Fri Oct 15 18:35:32 2010
@@ -23,7 +23,7 @@
         self.buildDwarf()
         self.break_on_objc_methods()
 
-    @unittest2.expectedFailure
+    #@unittest2.expectedFailure
     # rdar://problem/8542091
     # rdar://problem/8492646
     def test_data_type_and_expr_with_dsym(self):
@@ -31,7 +31,7 @@
         self.buildDsym()
         self.data_type_and_expr_objc()
 
-    @unittest2.expectedFailure
+    #@unittest2.expectedFailure
     # rdar://problem/8542091
     # rdar://problem/8492646
     def test_data_type_and_expr_with_dwarf(self):
@@ -173,8 +173,7 @@
         # Test new feature with r115115:
         # Add "-o" option to "expression" which prints the object description if available.
         self.expect("expr -o -- my", "Object description displayed correctly",
-            startstr = "Hello from ",
-            substrs = ["a.out", "with timestamp: "])
+            patterns = ["Hello from.*a.out.*with timestamp: "])
 
 
 if __name__ == '__main__':





More information about the lldb-commits mailing list