[all-commits] [llvm/llvm-project] 980679: [Driver][test] Remove clang{{.*}} when testing -cc...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon May 2 11:02:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 980679981fbc311bc07f8cd23e3739fd56c22d2a
https://github.com/llvm/llvm-project/commit/980679981fbc311bc07f8cd23e3739fd56c22d2a
Author: Fangrui Song <i at maskray.me>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M clang/test/Driver/amdgcn-toolchain-pic.cl
M clang/test/Driver/amdgpu-openmp-system-arch.c
M clang/test/Driver/amdgpu-toolchain-opencl.cl
M clang/test/Driver/amdgpu-toolchain.c
M clang/test/Driver/avr-mmcu.c
M clang/test/Driver/avr-toolchain.c
M clang/test/Driver/color-diagnostics.c
M clang/test/Driver/csky-toolchain.c
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/darwin-xarch.c
M clang/test/Driver/dragonfly.c
M clang/test/Driver/fat_archive_amdgpu.cpp
M clang/test/Driver/fat_archive_nvptx.cpp
M clang/test/Driver/hip-options.hip
M clang/test/Driver/hip-syntax-only.hip
M clang/test/Driver/msp430-mmcu.c
M clang/test/Driver/openbsd.c
M clang/test/Driver/openmp-offload-gpu-new.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/preprocessor.c
M clang/test/Driver/report-stat.c
M clang/test/Driver/riscv32-toolchain.c
M clang/test/Driver/riscv64-toolchain.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
M clang/test/Driver/wasm-toolchain.c
M clang/test/Driver/wasm-toolchain.cpp
Log Message:
-----------
[Driver][test] Remove clang{{.*}} when testing -cc1 command lines
The majority of tests omit testing "clang" for -cc1 command lines. In addition,
some distributions symlink %clang to an executable with a content hash based
filename so clang{{.*}} check won't work.
With this change, we can remove many -no-canonical-prefixes whose purpose was to
make the tests pass on such distributions.
More information about the All-commits
mailing list