[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:
Mandeep Singh Grang
2018-11-27 22:53:57 +00:00
parent 5e7dcc65bd
commit c77dd514ad
6 changed files with 12 additions and 0 deletions

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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

View File

@@ -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 \

View File

@@ -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

View File

@@ -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