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 | d7fed8e6905798e8a6a465489fe24df72f2f9aff (patch) | |
tree | 62f39caa1fc107405956e5189e16b784d4a87ab2 | |
parent | 31230e6fb3331192b5559cab539344235c715836 (diff) |
Make sure we have the include paths we need
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179347 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Modules/system_version.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Modules/system_version.m b/test/Modules/system_version.m index 2beddf4e1d..85b3263f72 100644 --- a/test/Modules/system_version.m +++ b/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 |