[cfe-commits] r123005 - in /cfe/trunk/test/CodeGen: bool_test.c va_list_test.c
Roman Divacky
rdivacky at freebsd.org
Fri Jan 7 11:01:39 PST 2011
Author: rdivacky
Date: Fri Jan 7 13:01:39 2011
New Revision: 123005
URL: http://llvm.org/viewvc/llvm-project?rev=123005&view=rev
Log:
Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific.
Modified:
cfe/trunk/test/CodeGen/bool_test.c
cfe/trunk/test/CodeGen/va_list_test.c
Modified: cfe/trunk/test/CodeGen/bool_test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bool_test.c?rev=123005&r1=123004&r2=123005&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/bool_test.c (original)
+++ cfe/trunk/test/CodeGen/bool_test.c Fri Jan 7 13:01:39 2011
@@ -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
Modified: cfe/trunk/test/CodeGen/va_list_test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/va_list_test.c?rev=123005&r1=123004&r2=123005&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/va_list_test.c (original)
+++ cfe/trunk/test/CodeGen/va_list_test.c Fri Jan 7 13:01:39 2011
@@ -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
More information about the cfe-commits
mailing list