diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-04-12 00:23:25 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-04-12 00:23:25 +0000 |
| commit | bc2c1e0e1c20e5f0572b2dbd5d2bb4b1c7464448 (patch) | |
| tree | d2a70de6b16205289a35fd5a6e4b0e8b27c07de8 /clang | |
| parent | c9be4734d68954b226aab349a08cdd89053f095a (diff) | |
| download | bcm5719-llvm-bc2c1e0e1c20e5f0572b2dbd5d2bb4b1c7464448.tar.gz bcm5719-llvm-bc2c1e0e1c20e5f0572b2dbd5d2bb4b1c7464448.zip | |
Make sure we have the include paths we need
llvm-svn: 179347
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/Modules/system_version.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Modules/system_version.m b/clang/test/Modules/system_version.m index 2beddf4e1d3..85b3263f725 100644 --- a/clang/test/Modules/system_version.m +++ b/clang/test/Modules/system_version.m @@ -10,21 +10,21 @@ // RUN: cp %S/Inputs/Modified/module.map %t/usr/include // Run once with no system version file. We should end up with one module. -// RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -isysroot %t %s -verify +// RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -isysroot %t -I %t/usr/include %s -verify // RUN: ls -R %t | grep -c ModA.pcm| grep 1 // Add a system version file and run again. We should now have two // module variants. // RUN: mkdir -p %t/System/Library/CoreServices // RUN: echo "hello" > %t/System/Library/CoreServices/SystemVersion.plist -// RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -isysroot %t %s -verify +// RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -isysroot %t -I %t/usr/include %s -verify // RUN: ls -R %t | grep -c ModA.pcm| grep 2 // Change the system version file and run again. We should now have three // module variants. // RUN: mkdir -p %t/System/Library/CoreServices // RUN: echo "modules" > %t/System/Library/CoreServices/SystemVersion.plist -// RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -isysroot %t %s -verify +// RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -isysroot %t -I %t/usr/include %s -verify // RUN: ls -R %t | grep -c ModA.pcm| grep 3 // expected-no-diagnostics |

