mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 14:48:27 +08:00
[RISCV] Mark unit tests as "requires: riscv-registered-target"
Some of these tests break if the RISCV backend has not been built. Reland D54816. llvm-svn: 347720
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// REQUIRES: riscv-registered-target
|
||||
|
||||
// RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ILP32 %s
|
||||
// RUN: %clang -target riscv32-unknown-elf %s -### -o %t.o -mabi=ilp32 2>&1 \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// REQUIRES: riscv-registered-target
|
||||
|
||||
// RUN: %clang -target riscv32-unknown-elf -march=rv32i -### %s \
|
||||
// RUN: -fsyntax-only 2>&1 | FileCheck %s
|
||||
// RUN: %clang -target riscv32-unknown-elf -march=rv32im -### %s \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// REQUIRES: riscv-registered-target
|
||||
|
||||
// RUN: %clang -target riscv32-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s
|
||||
// RUN: %clang -target riscv64-unknown-elf -### %s -fsyntax-only 2>&1 | FileCheck %s
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// REQUIRES: riscv-registered-target
|
||||
|
||||
// Check gnutools are invoked with propagated values for -mabi and -march.
|
||||
|
||||
// RUN: %clang -target riscv32 -fno-integrated-as %s -### -c \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// REQUIRES: riscv-registered-target
|
||||
|
||||
// A basic clang -cc1 command-line, and simple environment check.
|
||||
|
||||
// RUN: %clang %s -### -no-canonical-prefixes -target riscv32 2>&1 | FileCheck -check-prefix=CC1 %s
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// REQUIRES: riscv-registered-target
|
||||
|
||||
// A basic clang -cc1 command-line, and simple environment check.
|
||||
|
||||
// RUN: %clang %s -### -no-canonical-prefixes -target riscv64 2>&1 | FileCheck -check-prefix=CC1 %s
|
||||
|
||||
Reference in New Issue
Block a user