[Lldb-commits] [lldb] r162465 - /lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py

Johnny Chen johnny.chen at apple.com
Thu Aug 23 13:22:16 PDT 2012


Author: johnny
Date: Thu Aug 23 15:22:16 2012
New Revision: 162465

URL: http://llvm.org/viewvc/llvm-project?rev=162465&view=rev
Log:
Make a test scenario stronger, since, by default, the setting interpreter.expand-regex-aliases is false.

Modified:
    lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py

Modified: lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py?rev=162465&r1=162464&r2=162465&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py (original)
+++ lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py Thu Aug 23 15:22:16 2012
@@ -86,8 +86,9 @@
         self.expect("fil " + exe,
                     patterns = [ "Current executable set to .*a.out.*" ])
 
-        self.expect("_regexp-b product",
-                    substrs = [ "Breakpoint created: 1: name = 'product', locations = 1" ])
+        # By default, the setting interpreter.expand-regex-aliases is false.
+        self.expect("_regexp-b product", matching=False,
+                    substrs = [ "breakpoint set --name 'product'" ])
 
         self.expect("br s -n sum",
                     startstr = "Breakpoint created: 2: name = 'sum', locations = 1")





More information about the lldb-commits mailing list