================ @@ -87,8 +87,8 @@ /// <default-triple>-gcc has lowest priority so <triple>-gcc /// on PATH beats default triple in program path -// RUN: DEFAULT_TRIPLE=`%t/clang --version | grep "Target:" | cut -d ' ' -f2` -// RUN: touch %t/$DEFAULT_TRIPLE-gcc && chmod +x %t/$DEFAULT_TRIPLE-gcc +// RUN: %clang --version | grep "Target:" | cut -d ' ' -f2 > %t/default-triple.txt ---------------- ilovepi wrote:
```suggestion // RUN: %t/clang --version | grep "Target:" | cut -d ' ' -f2 > %t/default-triple.txt ``` Wasn't the test originally written that way? `%clang` is its own substitution that invokes the driver: https://llvm.org/docs/TestingGuide.html While I don't think you'll get meaningfully different behavior, lets leave the existing behavior intact unless we have a reason to change it. https://github.com/llvm/llvm-project/pull/102647 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits