Making the buildbot happy again after changes to the default formatter for char[]

llvm-svn: 178295
This commit is contained in:
Enrico Granata 2013-03-28 21:58:05 +00:00
parent 8f51121866
commit cd58d1176f
3 changed files with 7 additions and 5 deletions

View File

@ -136,7 +136,7 @@ class AliasTestCase(TestBase):
"= 0x00000044" ])
self.runCmd ("alias exprf expr -f %1")
self.runCmd ("alias exprf2 expr -f %1 --")
self.runCmd ("alias exprf2 expr --raw -f %1 --")
self.expect ("exprf x -- 1234",
substrs = [ "(int) $",
"= 0x000004d2" ])

View File

@ -82,7 +82,7 @@ class ArrayTypesTestCase(TestBase):
'Bonjour',
'Guten Tag'])
self.expect("frame variable --show-types char_16", VARIABLES_DISPLAYED_CORRECTLY,
self.expect("frame variable --show-types --raw -- char_16", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ['(char) [0]',
'(char) [15]'])

View File

@ -52,11 +52,13 @@ class CStringsTestCase(TestBase):
self.expect("expression -- \"\"[0]",
startstr = "(const char) $4 = '\\0'")
self.expect("p \"hello\"",
substrs = ['[6]) $', 'hello',
'[0] = \'h\'',
self.expect("expr --raw -- \"hello\"",
substrs = ['[0] = \'h\'',
'[5] = \'\\0\''])
self.expect("p \"hello\"",
substrs = ['[6]) $', 'hello'])
self.expect("p (char*)\"hello\"",
substrs = ['(char *) $', ' = 0x',
'hello'])