r207479 - Add missing triple to make -isysroot work
Ben Langmuir
blangmuir at apple.com
Mon Apr 28 18:04:34 PDT 2014
Author: benlangmuir
Date: Mon Apr 28 20:04:34 2014
New Revision: 207479
URL: http://llvm.org/viewvc/llvm-project?rev=207479&view=rev
Log:
Add missing triple to make -isysroot work
Modified:
cfe/trunk/test/Modules/Werror-Wsystem-headers.m
Modified: cfe/trunk/test/Modules/Werror-Wsystem-headers.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Werror-Wsystem-headers.m?rev=207479&r1=207478&r2=207479&view=diff
==============================================================================
--- cfe/trunk/test/Modules/Werror-Wsystem-headers.m (original)
+++ cfe/trunk/test/Modules/Werror-Wsystem-headers.m Mon Apr 28 20:04:34 2014
@@ -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
More information about the cfe-commits
mailing list