[all-commits] [llvm/llvm-project] 4b27d9: [flang][test] Don't require .exe suffix.
Michael Kruse via All-commits
all-commits at lists.llvm.org
Wed Aug 10 08:44:17 PDT 2022
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2022-08-10 (Wed, 10 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
(cherry picked from commit 8c0979c8f7723306862b33583c6bdb1f4566a969)
More information about the All-commits