]> granicus.if.org Git - clang/commitdiff
Add missing triple to make -isysroot work
authorBen Langmuir <blangmuir@apple.com>
Tue, 29 Apr 2014 01:04:34 +0000 (01:04 +0000)
committerBen Langmuir <blangmuir@apple.com>
Tue, 29 Apr 2014 01:04:34 +0000 (01:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207479 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/Werror-Wsystem-headers.m

index b3ca77e960218d25c6dbb5020ac2e4c0dc406887..c4cd1a6378ccfafe9c765458046f56c4c6eb0b4d 100644 (file)
@@ -5,17 +5,17 @@
 
 // Initial module build
 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash \
-// RUN:     -isysroot %S/Inputs/System -fsyntax-only %s -verify
+// RUN:     -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -fsyntax-only %s -verify
 // RUN: cp %t/cstd.pcm %t-saved/cstd.pcm
 
 // Even with -Werror don't rebuild a system module
 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash \
-// RUN:     -isysroot %S/Inputs/System -fsyntax-only %s -verify -Werror
+// RUN:     -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -fsyntax-only %s -verify -Werror
 // RUN: diff %t/cstd.pcm %t-saved/cstd.pcm
 
 // Unless -Wsystem-headers is on
 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash \
-// RUN:     -isysroot %S/Inputs/System -fsyntax-only %s -verify \
+// RUN:     -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -fsyntax-only %s -verify \
 // RUN:     -Werror=unused -Wsystem-headers
 // RUN: not diff %t/cstd.pcm %t-saved/cstd.pcm