aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-04-16 21:59:21 +0000
committerTed Kremenek <kremenek@apple.com>2013-04-16 21:59:21 +0000
commit11983018670eb6c1e02dd497f5df37117cfa28fb (patch)
tree8c453d7e527716589f930ff0db576ae6fa078e47
parent08a838d16825159f7d0ae20d171aa5b3ebab3939 (diff)
Make test portable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179635 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/analyzer-config.c2
-rw-r--r--test/Analysis/analyzer-config.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/analyzer-config.c b/test/Analysis/analyzer-config.c
index 2a3d645ffd..64ce3791f7 100644
--- a/test/Analysis/analyzer-config.c
+++ b/test/Analysis/analyzer-config.c
@@ -1,4 +1,4 @@
-// RUN: %clang --analyze %s -o /dev/null -Xclang -analyzer-checker=debug.ConfigDumper > %t 2>&1
+// RUN: %clang -target x86_64-apple-darwin10 --analyze %s -o /dev/null -Xclang -analyzer-checker=debug.ConfigDumper > %t 2>&1
// RUN: FileCheck --input-file=%t %s
void bar() {}
diff --git a/test/Analysis/analyzer-config.cpp b/test/Analysis/analyzer-config.cpp
index 1ba59184d8..dc8daad1f2 100644
--- a/test/Analysis/analyzer-config.cpp
+++ b/test/Analysis/analyzer-config.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang --analyze %s -o /dev/null -Xclang -analyzer-checker=debug.ConfigDumper > %t 2>&1
+// RUN: %clang -target x86_64-apple-darwin10 --analyze %s -o /dev/null -Xclang -analyzer-checker=debug.ConfigDumper > %t 2>&1
// RUN: FileCheck --input-file=%t %s
void bar() {}