[all-commits] [llvm/llvm-project] 8c0979: [flang][test] Don't require .exe suffix.
Michael Kruse via All-commits
all-commits at lists.llvm.org
Mon Aug 8 14:57:35 PDT 2022
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2022-08-08 (Mon, 08 Aug 2022)
[flang][test] Don't require .exe suffix.
The suffix is only added then the path the (lld-)link.exe is fully
resolved. Otherwise it may stay "link" or "lld-link".
On non-Windows platforms, lld-link also exists as a symbolic link to
lld, such that the full the path to lld-link might also be resolved
without .exe suffix in this case.
Note that CLANG_DEFAULT_LINKER could be set to other linkers such as
mold, in which case the test may still fail. This also applies to the
non-Windows tests that require "ld" in the linker name.
Fixes issue #56955
More information about the All-commits