aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/bool_test.c
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-07-09 18:34:21 +0000
committerJim Grosbach <grosbach@apple.com>2012-07-09 18:34:21 +0000
commitf79470583759d20c20268711e6111461aefa8461 (patch)
tree051ebd4e10d734634e720f9df563953853ae93a1 /test/CodeGen/bool_test.c
parentd57aa886f06215da3a1bffecf6bfb7ad92075e80 (diff)
Tests: check for target availability for target-specific tests.
Lots of tests are using an explicit target triple w/o first checking that the target is actually available. Add a REQUIRES clause to a bunch of them. This should hopefully unbreak bots which don't configure w/ all targets enabled. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/bool_test.c')
-rw-r--r--test/CodeGen/bool_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/bool_test.c b/test/CodeGen/bool_test.c
index ffaaef8123..715f8467b5 100644
--- a/test/CodeGen/bool_test.c
+++ b/test/CodeGen/bool_test.c
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target
// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck -check-prefix=DARWINPPC-CHECK %s
int boolsize = sizeof(_Bool);