From: Roman Divacky Date: Fri, 7 Jan 2011 19:01:39 +0000 (+0000) Subject: Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d918a496ef545a0c906841b050a67e2d6fe0dfe;p=clang 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 --- 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 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