[all-commits] [llvm/llvm-project] ef25a2: Prevent lldb-vscode tests from source lldbinit file

jeffreytan81 via All-commits all-commits at lists.llvm.org
Tue Oct 11 15:43:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef25a217266aaf3b6df68ac155537e3a1171dccf
      https://github.com/llvm/llvm-project/commit/ef25a217266aaf3b6df68ac155537e3a1171dccf
  Author: Jeffrey Tan <jeffreytan at fb.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  Prevent lldb-vscode tests from source lldbinit file

lldb-vscode is hard-coded to source .lldbinit file which causes some tests to
fail on my machine.
This patch adds a new option to control this:
1. vscode.py and lldb-vscode tests will not source .lldbinit by default
2. lldb-vscode will source .lldbinit in production if not specified otherwise

Differential Revision: https://reviews.llvm.org/D135620




More information about the All-commits mailing list