[Lldb-commits] [lldb] r115821 - /lldb/trunk/test/types/AbstractBase.py

Johnny Chen johnny.chen at apple.com
Wed Oct 6 13:00:48 PDT 2010


Author: johnny
Date: Wed Oct  6 15:00:48 2010
New Revision: 115821

URL: http://llvm.org/viewvc/llvm-project?rev=115821&view=rev
Log:
Change the regular expression used to grok the data type associated the output of
expression parser in light of the recent check ins.

Example:
    runCmd: expr a
    output: (double) $0 = 1100.12

Modified:
    lldb/trunk/test/types/AbstractBase.py

Modified: lldb/trunk/test/types/AbstractBase.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/AbstractBase.py?rev=115821&r1=115820&r2=115821&view=diff
==============================================================================
--- lldb/trunk/test/types/AbstractBase.py (original)
+++ lldb/trunk/test/types/AbstractBase.py Wed Oct  6 15:00:48 2010
@@ -138,10 +138,10 @@
             #
             # Example:
             #     runCmd: expr a
-            #     output: $0 = (double) 1100.12
+            #     output: (double) $0 = 1100.12
             #
             try:
-                dt = re.match("^\$[0-9]+ = \((.*)\)", output).group(1)
+                dt = re.match("^\((.*)\) \$[0-9]+ = ", output).group(1)
             except:
                 self.fail(self.DATA_TYPE_GROKKED)
 





More information about the lldb-commits mailing list