r179347 - Make sure we have the include paths we need

Douglas Gregor dgregor at apple.com
Thu Apr 11 17:23:26 PDT 2013


Author: dgregor
Date: Thu Apr 11 19:23:25 2013
New Revision: 179347

URL: http://llvm.org/viewvc/llvm-project?rev=179347&view=rev
Log:
Make sure we have the include paths we need

Modified:
    cfe/trunk/test/Modules/system_version.m

Modified: cfe/trunk/test/Modules/system_version.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/system_version.m?rev=179347&r1=179346&r2=179347&view=diff
==============================================================================
--- cfe/trunk/test/Modules/system_version.m (original)
+++ cfe/trunk/test/Modules/system_version.m Thu Apr 11 19:23:25 2013
@@ -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





More information about the cfe-commits mailing list