aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-08 23:02:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-08 23:02:51 +0000
commit748dd20b55f64bc7e398a3f2210136581531fc7a (patch)
treec3a336603f68f1a01e7bda6ae32378166001d283
parent247aaa64f03c259a029205c1494d2a062e5629bd (diff)
Force triple for these tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68651 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m2
-rw-r--r--test/Preprocessor/pic.c6
2 files changed, 4 insertions, 4 deletions
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