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
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115821 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/types/AbstractBase.py b/test/types/AbstractBase.py
index 0cc4412..9ad4ff5 100644
--- a/test/types/AbstractBase.py
+++ b/test/types/AbstractBase.py
@@ -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)