[all-commits] [llvm/llvm-project] 3d2c90: [lit] Fix testing of standalone clang and lld builds

James Henderson via All-commits all-commits at lists.llvm.org
Thu Jun 3 05:57:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d2c9069dcafd0cbb641841aa3dd6e851fb7d760
      https://github.com/llvm/llvm-project/commit/3d2c9069dcafd0cbb641841aa3dd6e851fb7d760
  Author: James Henderson <james.henderson at sony.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M llvm/utils/lit/lit/llvm/config.py
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/build/case10
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/build/case10.exe
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/build/case9
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/build/case9.exe
    M llvm/utils/lit/tests/Inputs/use-llvm-tool/lit.cfg
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/path/case10
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/path/case10.exe
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/search1/empty
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/search2/case9
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/search2/case9.exe
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/search3/case9
    A llvm/utils/lit/tests/Inputs/use-llvm-tool/search3/case9.exe
    M llvm/utils/lit/tests/use-llvm-tool.py

  Log Message:
  -----------
  [lit] Fix testing of standalone clang and lld builds

In such cases, the executables are not in the llvm_tools_dir directory, so we need to look in the other search locations. Previously, they were found via the PATH, but this was disabled by default in commit rGa1e6565.

Depends on D103154.

Reviewed By: thopre

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




More information about the All-commits mailing list