forked from OSchip/llvm-project
Fix tests affected by printing change.
I forgot to update some tests that were affected by the escaping of backticks in the format string, landed in r343471. llvm-svn: 343502
This commit is contained in:
parent
0c83c3ff38
commit
23b62aa6d4
|
@ -35,7 +35,7 @@ class MixedLanguagesTestCase(TestBase):
|
|||
self.format_string = m.group(1)
|
||||
|
||||
# Change the default format to print the language.
|
||||
format_string = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}`${function.name}{${function.pc-offset}}}{, lang=${language}}\n"
|
||||
format_string = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}\`${function.name}{${function.pc-offset}}}{, lang=${language}}\n"
|
||||
self.runCmd("settings set frame-format %s" % format_string)
|
||||
self.expect("settings show frame-format", SETTING_MSG("frame-format"),
|
||||
substrs=[format_string])
|
||||
|
|
|
@ -132,7 +132,7 @@ class SettingsCommandTestCase(TestBase):
|
|||
|
||||
# Change the default format to print function.name rather than
|
||||
# function.name-with-args
|
||||
format_string = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}`${function.name}{${function.pc-offset}}}{ at ${line.file.fullpath}:${line.number}}{, lang=${language}}\n"
|
||||
format_string = "frame #${frame.index}: ${frame.pc}{ ${module.file.basename}\`${function.name}{${function.pc-offset}}}{ at ${line.file.fullpath}:${line.number}}{, lang=${language}}\n"
|
||||
self.runCmd("settings set frame-format %s" % format_string)
|
||||
|
||||
# Immediately test the setting.
|
||||
|
|
Loading…
Reference in New Issue