[all-commits] [llvm/llvm-project] cacaa4: Reland "[lldb] Use shutil.which in Shell tests fin...

David Spickett via All-commits all-commits at lists.llvm.org
Fri Apr 29 04:25:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cacaa445c3a3a2551a6e2aef51414e47def9cc06
      https://github.com/llvm/llvm-project/commit/cacaa445c3a3a2551a6e2aef51414e47def9cc06
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

  Changed paths:
    M lldb/test/Shell/BuildScript/toolchain-clang-cl.test
    M lldb/test/Shell/BuildScript/toolchain-clang.test
    M lldb/test/Shell/BuildScript/toolchain-msvc.test
    M lldb/test/Shell/helper/build.py

  Log Message:
  -----------
  Reland "[lldb] Use shutil.which in Shell tests find_executable"

This reverts commit d9247cc84825539d346c74eb1379c6cb948d3a71.

With the Windows tests updated to expect .EXE suffixes. This changed
because shutil.which uses PATHEXT which will contain, amongst others,
"EXE".

Also I noticed the "." in ".exe" was the wildcard dot not literal
dot so I've escaped those.




More information about the All-commits mailing list