]> granicus.if.org Git - clang/commitdiff
Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific.
authorRoman Divacky <rdivacky@freebsd.org>
Fri, 7 Jan 2011 19:01:39 +0000 (19:01 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Fri, 7 Jan 2011 19:01:39 +0000 (19:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123005 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/bool_test.c
test/CodeGen/va_list_test.c

index f755b58454767b187b7de008f58c863608548697..ffaaef8123ccbe1d7ea7ff8cc8cb505e59527cee 100644 (file)
@@ -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
 
index 33a12d6e28dc81cfcde1960e5ea8418c805992d9..74f7837d2d3c6b77a86cc9d347cf5277af3a35c6 100644 (file)
@@ -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