aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-01-25 18:50:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-01-25 18:50:18 +0000
commit7f5c343c43167b9e3ec27bba08d254831ce8fdad (patch)
tree8e5514f6f3fa09e48073a9f1c7258cb94949fac2
parentfd426dc25debed7b09b4c7b661e04c425c7abe0e (diff)
[tests] Force a triple to ensure /usr/include is one of the entries.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173469 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Preprocessor/iwithprefix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Preprocessor/iwithprefix.c b/test/Preprocessor/iwithprefix.c
index 6628ab5b81..0bfa2bed79 100644
--- a/test/Preprocessor/iwithprefix.c
+++ b/test/Preprocessor/iwithprefix.c
@@ -2,9 +2,10 @@
//
// RUN: rm -rf %t.tmps
// RUN: mkdir -p %t.tmps/first %t.tmps/second
-// RUN: %clang_cc1 \
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown \
// RUN: -iprefix %t.tmps/ -iwithprefix second \
// RUN: -isystem %t.tmps/first -v 2> %t.out
+// RUN: cat %t.out
// RUN: FileCheck < %t.out %s
// CHECK: #include <...> search starts here: