aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/a15.c1
-rw-r--r--test/CodeGen/builtins-nvptx.c1
-rw-r--r--test/CodeGen/mips-clobber-reg.c1
-rw-r--r--test/CodeGen/nvptx-cc.c1
-rw-r--r--test/CodeGen/parameter-passing.c2
-rw-r--r--test/CodeGenObjC/bitfield-access.m2
-rw-r--r--test/CodeGenObjC/metadata_symbols.m2
-rw-r--r--test/Coverage/targets.c1
8 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/a15.c b/test/CodeGen/a15.c
index 115b1091da..3147c19861 100644
--- a/test/CodeGen/a15.c
+++ b/test/CodeGen/a15.c
@@ -1,4 +1,5 @@
// RUN: %clang -ccc-host-triple armv7-none-linux-gnueabi -mcpu=cortex-a15 -emit-llvm -S %s -o /dev/null
+// REQUIRES: arm-registered-target
int main() {
return 0;
diff --git a/test/CodeGen/builtins-nvptx.c b/test/CodeGen/builtins-nvptx.c
index fa6b14c1ca..90d52ecac7 100644
--- a/test/CodeGen/builtins-nvptx.c
+++ b/test/CodeGen/builtins-nvptx.c
@@ -1,5 +1,6 @@
// RUN: %clang_cc1 -triple nvptx-unknown-unknown -emit-llvm -o %t %s
// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -emit-llvm -o %t %s
+// REQUIRES: nvptx-registered-target,nvptx64-registered-target
int read_tid() {
diff --git a/test/CodeGen/mips-clobber-reg.c b/test/CodeGen/mips-clobber-reg.c
index be18353af8..50f452cbb4 100644
--- a/test/CodeGen/mips-clobber-reg.c
+++ b/test/CodeGen/mips-clobber-reg.c
@@ -1,4 +1,5 @@
// RUN: %clang -target mipsel-unknown-linux -S -o - -emit-llvm %s
+// REQUIRES: mips-registered-target
/*
This checks that the frontend will accept both
diff --git a/test/CodeGen/nvptx-cc.c b/test/CodeGen/nvptx-cc.c
index 1c0d943f95..0313f28cbe 100644
--- a/test/CodeGen/nvptx-cc.c
+++ b/test/CodeGen/nvptx-cc.c
@@ -1,5 +1,6 @@
// RUN: %clang_cc1 -triple nvptx-unknown-unknown -O3 -S -o %t %s -emit-llvm
// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -O3 -S -o %t %s -emit-llvm
+// REQUIRES: nvptx-registered-target,nvptx64-registered-target
// Just make sure Clang uses the proper calling convention for the NVPTX back-end.
// If something is wrong, the back-end will fail.
diff --git a/test/CodeGen/parameter-passing.c b/test/CodeGen/parameter-passing.c
index e48815b966..95a07f5258 100644
--- a/test/CodeGen/parameter-passing.c
+++ b/test/CodeGen/parameter-passing.c
@@ -14,6 +14,8 @@
// RUN: %clang_cc1 %s -triple powerpc-unknown-unknown -O3 -emit-llvm -o %t
// RUN: not grep '@g0' %t
+// REQUIRES: ppc32-registered-target,x86-registered-target,x86-64-registered-target
+
typedef _Bool BoolTy;
typedef int ScalarTy;
typedef _Complex int ComplexTy;
diff --git a/test/CodeGenObjC/bitfield-access.m b/test/CodeGenObjC/bitfield-access.m
index 6d4c82a9b1..ea4206cab7 100644
--- a/test/CodeGenObjC/bitfield-access.m
+++ b/test/CodeGenObjC/bitfield-access.m
@@ -4,6 +4,8 @@
// RUN: %clang_cc1 -triple armv6-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -target-abi apcs-gnu -emit-llvm -o %t2 %s
// RUN: FileCheck -check-prefix=CHECK-ARM < %t2 %s
+// REQUIRES: arm-registered-target,x86-registered-target
+
@interface I0 {
@public
unsigned x:15;
diff --git a/test/CodeGenObjC/metadata_symbols.m b/test/CodeGenObjC/metadata_symbols.m
index 576a55b136..024a43f021 100644
--- a/test/CodeGenObjC/metadata_symbols.m
+++ b/test/CodeGenObjC/metadata_symbols.m
@@ -36,6 +36,8 @@
// CHECK-ARMV6: define internal void @"\01-[A im0]"
// CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]"
+// REQUIRES: arm-registered-target,x86-64-registered-target
+
@interface A
@end
diff --git a/test/Coverage/targets.c b/test/Coverage/targets.c
index 7c05122e6b..5421df4506 100644
--- a/test/Coverage/targets.c
+++ b/test/Coverage/targets.c
@@ -18,3 +18,4 @@
// <rdar://problem/7181838> clang 1.0 fails to compile Python 2.6
// RUN: %clang -target x86_64-apple-darwin9 -### -S %s -mmacosx-version-min=10.4
+// REQUIRES: arm-registered-target,mips-registered-target,ppc32-registered-target,ppc64-registered-target,sparc-registered-target,x86-registered-target,x86-64-registered-target