]> granicus.if.org Git - clang/commitdiff
[tests] Force a triple to ensure /usr/include is one of the entries.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 25 Jan 2013 18:50:18 +0000 (18:50 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 25 Jan 2013 18:50:18 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173469 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/iwithprefix.c

index 6628ab5b8175999b213ce42d3db926a233385518..0bfa2bed79aba64e3d3aeef1449dbe2cb907ee30 100644 (file)
@@ -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: