Author: lattner
Date: Mon Aug 10 13:56:44 2009
New Revision: 78583
URL: http://llvm.org/viewvc/llvm-project?rev=78583&view=rev
Log:
these tests include section specifiers that aren't valid on the
mac, use an explicit triple.
Modified:
cfe/trunk/test/CodeGen/attributes.c
cfe/trunk/test/CodeGen/global-init.c
Modified: cfe/trunk/test/CodeGen/attributes.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/attributes.c?rev=78583&r1=78582&r2=78583&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/attributes.c (original)
+++ cfe/trunk/test/CodeGen/attributes.c Mon Aug 10 13:56:44 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s &&
+// RUN: clang-cc -emit-llvm -triple i386-linux-gnu -o %t %s &&
// RUN: grep 't1.*noreturn' %t &&
// RUN: grep 't2.*nounwind' %t &&
// RUN: grep 'weak.*t3' %t &&
Modified: cfe/trunk/test/CodeGen/global-init.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/global-init.c?rev=78583&r1=78582&r2=78583&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/global-init.c (original)
+++ cfe/trunk/test/CodeGen/global-init.c Mon Aug 10 13:56:44 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: clang-cc -emit-llvm -o - -triple i386-linux-gnu %s | FileCheck %s
// This checks that the global won't be marked as common.
// (It shouldn't because it's being initialized).
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits