From: Chris Lattner Date: Mon, 10 Aug 2009 18:56:44 +0000 (+0000) Subject: these tests include section specifiers that aren't valid on the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e0110e5fa220eeb3a8a9836f69f6be05bd72f04;p=clang these tests include section specifiers that aren't valid on the mac, use an explicit triple. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78583 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/attributes.c b/test/CodeGen/attributes.c index 7191f98c41..13b64ae87b 100644 --- a/test/CodeGen/attributes.c +++ b/test/CodeGen/attributes.c @@ -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 && diff --git a/test/CodeGen/global-init.c b/test/CodeGen/global-init.c index 2a4c77b1da..2368422f3a 100644 --- a/test/CodeGen/global-init.c +++ b/test/CodeGen/global-init.c @@ -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).