Fix the test suite failures as a result of r162418 check-in.

llvm-svn: 162462
This commit is contained in:
Johnny Chen 2012-08-23 19:36:03 +00:00
parent af507bf450
commit cfe38aab25
2 changed files with 5 additions and 2 deletions

View File

@ -87,8 +87,7 @@ class AbbreviationsTestCase(TestBase):
patterns = [ "Current executable set to .*a.out.*" ])
self.expect("_regexp-b product",
substrs = [ "breakpoint set --name 'product'",
"Breakpoint created: 1: name = 'product', locations = 1" ])
substrs = [ "Breakpoint created: 1: name = 'product', locations = 1" ])
self.expect("br s -n sum",
startstr = "Breakpoint created: 2: name = 'sum', locations = 1")

View File

@ -32,6 +32,10 @@ class CommonShortSpellingsTestCase(TestBase):
self.expect("br s -n sum",
startstr = "Breakpoint created: 1: name = 'sum', locations = 1")
self.runCmd("settings set interpreter.expand-regex-aliases true")
self.addTearDownHook(
lambda: self.runCmd("settings set interpreter.expand-regex-aliases false"))
# disp -> display
self.expect("disp a",
startstr = "target stop-hook add -o")