[Lldb-commits] [lldb] r115042 - /lldb/trunk/test/class_types/TestClassTypes.py

Johnny Chen johnny.chen at apple.com
Wed Sep 29 10:29:14 PDT 2010


Author: johnny
Date: Wed Sep 29 12:29:13 2010
New Revision: 115042

URL: http://llvm.org/viewvc/llvm-project?rev=115042&view=rev
Log:
Removed the two @expectedFailure decorators for expression parser, they have been fixed.
Also chnaged the expected string for 'frame variable this' from '(class C *const) this ='
to 'C *const) this =' for the time being, while investigating the different output for
tot r115023.

runCmd: frame variable this
output: (struct C *const) this = 0x0000000100000c2e

Modified:
    lldb/trunk/test/class_types/TestClassTypes.py

Modified: lldb/trunk/test/class_types/TestClassTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/class_types/TestClassTypes.py?rev=115042&r1=115041&r2=115042&view=diff
==============================================================================
--- lldb/trunk/test/class_types/TestClassTypes.py (original)
+++ lldb/trunk/test/class_types/TestClassTypes.py Wed Sep 29 12:29:13 2010
@@ -35,13 +35,11 @@
         self.breakpoint_creation_by_filespec_python()
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
-    @unittest2.expectedFailure
     def test_with_dsym_and_expr_parser(self):
         """Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
         self.buildDsym()
         self.class_types_expr_parser()
 
-    @unittest2.expectedFailure
     def test_with_dwarf_and_expr_parser(self):
         """Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
         self.buildDwarf()
@@ -69,7 +67,7 @@
 
         # We should be stopped on the ctor function of class C.
         self.expect("frame variable this", VARIABLES_DISPLAYED_CORRECTLY,
-            startstr = '(class C *const) this = ')
+            substrs = ['C *const) this = '])
 
     def breakpoint_creation_by_filespec_python(self):
         """Use Python APIs to create a breakpoint by (filespec, line)."""





More information about the lldb-commits mailing list