Return -no-canonical-prefixes for riskv32/64 test

W/o -no-canonical-prefixes CC1: clang{{.*}} "-cc1" "-triple" "riscv32"
does not match clang output for some setups.

See da62a5c661.
This commit is contained in:
Mikhail Goncharov 2022-03-28 11:23:14 +02:00
parent c5d83cdca4
commit 8a2a966520
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// A basic clang -cc1 command-line, and simple environment check.
// RUN: %clang %s -### --target=riscv32 \
// RUN: %clang %s -### -no-canonical-prefixes --target=riscv32 \
// RUN: --gcc-toolchain=%S/Inputs/basic_riscv32_tree 2>&1 \
// RUN: | FileCheck -check-prefix=CC1 %s
// CC1: clang{{.*}} "-cc1" "-triple" "riscv32"

View File

@ -1,6 +1,6 @@
// A basic clang -cc1 command-line, and simple environment check.
// RUN: %clang %s -### --target=riscv64 \
// RUN: %clang %s -### -no-canonical-prefixes --target=riscv64 \
// RUN: --gcc-toolchain=%S/Inputs/basic_riscv64_tree 2>&1 \
// RUN: | FileCheck -check-prefix=CC1 %s
// CC1: clang{{.*}} "-cc1" "-triple" "riscv64"