[all-commits] [llvm/llvm-project] e40c4d: [llvm-rc] Avoid which(1) dependency in windres-pre...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed May 25 07:15:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e40c4dd66218393214ed7a817ebb82979adad01a
      https://github.com/llvm/llvm-project/commit/e40c4dd66218393214ed7a817ebb82979adad01a
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M llvm/test/tools/llvm-rc/windres-prefix.test

  Log Message:
  -----------
  [llvm-rc] Avoid which(1) dependency in windres-prefix.test

Rely on lit substitution to provide the path to llvm-windres instead
of redundantly calling which(1) with the subtituted absolute path.
This fixes test failure on the happy systems without which(1) installed.

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




More information about the All-commits mailing list