[Lldb-commits] [lldb] d4cb286 - [NFC][lldb-vscode] Fix launch test

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 7 10:01:31 PDT 2021


Author: Walter Erquinigo
Date: 2021-07-07T10:01:19-07:00
New Revision: d4cb286b05f5192f6cbae310bd30cad3f05f13ac

URL: https://github.com/llvm/llvm-project/commit/d4cb286b05f5192f6cbae310bd30cad3f05f13ac
DIFF: https://github.com/llvm/llvm-project/commit/d4cb286b05f5192f6cbae310bd30cad3f05f13ac.diff

LOG: [NFC][lldb-vscode] Fix launch test

Using br for creating breakpoints fails if there are other commands that
start with br.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
index 593701e7ca64c..ff798364c9573 100644
--- a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -388,8 +388,8 @@ def test_extra_launch_commands(self):
         # breakpoints get hit
         launchCommands = [
             'target create "%s"' % (program),
-            'br s -f main.c -l %d' % first_line,
-            'br s -f main.c -l %d' % second_line,
+            'breakpoint s -f main.c -l %d' % first_line,
+            'breakpoint s -f main.c -l %d' % second_line,
             'process launch --stop-at-entry'
         ]
 


        


More information about the lldb-commits mailing list