From: Daniel Dunbar Date: Wed, 8 Apr 2009 23:02:51 +0000 (+0000) Subject: Force triple for these tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=748dd20b55f64bc7e398a3f2210136581531fc7a;p=clang Force triple for these tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68651 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m b/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m index 7d90f3a753..574b0385d1 100644 --- a/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m +++ b/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify +// RUN: clang-cc -triple i386-apple-darwin9 -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify @interface MyClass {} - (void *)voidPtrM; diff --git a/test/Preprocessor/pic.c b/test/Preprocessor/pic.c index 1a2300b1a1..1cddaa1a91 100644 --- a/test/Preprocessor/pic.c +++ b/test/Preprocessor/pic.c @@ -1,10 +1,10 @@ -// RUN: clang -static -dM -E -o %t %s && +// RUN: clang -ccc-host-triple i386-unknown-unknown -static -dM -E -o %t %s && // RUN: grep '#define __PIC__' %t | count 0 && // RUN: grep '#define __pic__' %t | count 0 && -// RUN: clang -fpic -dM -E -o %t %s && +// RUN: clang -ccc-host-triple i386-unknown-unknown -fpic -dM -E -o %t %s && // RUN: grep '#define __PIC__ 1' %t | count 1 && // RUN: grep '#define __pic__ 1' %t | count 1 && -// RUN: clang -fPIC -dM -E -o %t %s && +// RUN: clang -ccc-host-triple i386-unknown-unknown -fPIC -dM -E -o %t %s && // RUN: grep '#define __PIC__ 2' %t | count 1 && // RUN: grep '#define __pic__ 2' %t | count 1 && // RUN: true