[clang] [Driver] Make the FileCheck less strict for some tests. (PR #94349)

Jordan Rupprecht via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 06:59:11 PDT 2024


================
@@ -12,7 +12,7 @@
 // RUN:     --sysroot=%S/Inputs/mips_mti_linux/sysroot \
 // RUN:   | FileCheck --check-prefix=CHECK-BE-HF-32R2 %s
 //
-// CHECK-BE-HF-32R2: "{{[^"]*}}clang{{[^"]*}}" {{.*}} "-triple" "mips-mti-linux"
----------------
rupprecht wrote:

Instead of changing the check, can you change the `RUN` lines to use `%clang -no-canonical-prefixes`? I would expect that to not realpath-ify the binary name.

https://github.com/llvm/llvm-project/pull/94349


More information about the cfe-commits mailing list