[all-commits] [llvm/llvm-project] 79809f: [LLDB] On Windows, fix tests

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Thu Oct 8 08:47:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 79809f58b02419a5d1bfb6c9a59dbd13cd038c77
      https://github.com/llvm/llvm-project/commit/79809f58b02419a5d1bfb6c9a59dbd13cd038c77
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/dotest.py
    M lldb/packages/Python/lldbsuite/test_event/build_exception.py
    M lldb/test/API/commands/target/basic/TestTargetCommand.py
    M lldb/unittests/Utility/StatusTest.cpp

  Log Message:
  -----------
  [LLDB] On Windows, fix tests

This patch fixes a few issues seen when running `ninja check-lldb` in a Release build with VS2017:

- Some binaries couldn't be found (such as lldb-vscode.exe), because .exe wasn't appended to the file name.
- Many tests used to fail since our installed locale is in French - the OS error messages are not emitted in English.
- Our codepage being Windows-1252, python failed to decode some error messages with accentuations.

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




More information about the All-commits mailing list