forked from OSchip/llvm-project
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 llvm-svn: 115821
This commit is contained in:
parent
bcbb69856d
commit
2c2d69dff5
|
@ -138,10 +138,10 @@ class GenericTester(TestBase):
|
|||
#
|
||||
# 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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue