diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2011-01-07 19:01:39 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2011-01-07 19:01:39 +0000 |
commit | 5d918a496ef545a0c906841b050a67e2d6fe0dfe (patch) | |
tree | d4a148aebb3be1a9d99d9fa2175239677cc1b48c | |
parent | 403bdd7c513232e3ec62a4cb6f97effbc4416b1b (diff) |
Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123005 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/bool_test.c | 4 | ||||
-rw-r--r-- | test/CodeGen/va_list_test.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/bool_test.c b/test/CodeGen/bool_test.c index f755b58454..ffaaef8123 100644 --- a/test/CodeGen/bool_test.c +++ b/test/CodeGen/bool_test.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck %s +// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck -check-prefix=DARWINPPC-CHECK %s int boolsize = sizeof(_Bool); -//CHECK: boolsize = global i32 4, align 4 +//DARWINPPC-CHECK: boolsize = global i32 4, align 4 diff --git a/test/CodeGen/va_list_test.c b/test/CodeGen/va_list_test.c index 33a12d6e28..74f7837d2d 100644 --- a/test/CodeGen/va_list_test.c +++ b/test/CodeGen/va_list_test.c @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck %s +// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck -check-prefix=SVR4-CHECK %s #include <stdarg.h> int va_list_size = sizeof(va_list); -// CHECK: va_list_size = global i32 12, align 4 +// SVR4-CHECK: va_list_size = global i32 12, align 4 |