diff options
| -rw-r--r-- | lldb/test/functionalities/abbreviation/TestAbbreviations.py | 3 | ||||
| -rw-r--r-- | lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lldb/test/functionalities/abbreviation/TestAbbreviations.py b/lldb/test/functionalities/abbreviation/TestAbbreviations.py index a7501e35905..e5966feade9 100644 --- a/lldb/test/functionalities/abbreviation/TestAbbreviations.py +++ b/lldb/test/functionalities/abbreviation/TestAbbreviations.py @@ -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") diff --git a/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py b/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py index 3c40e650d27..c4ec8c54851 100644 --- a/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py +++ b/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py @@ -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") |

