• Home
  • Raw
  • Download

Lines Matching refs:RUN

8 // RUN: rm -rf %t %t-cache %t.pch
9 // RUN: mkdir -p %t/SomeFramework.framework/Modules
10 // RUN: cp %S/Inputs/some_frame_module.map %t/SomeFramework.framework/Modules/module.modulemap
11 // RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
14 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
15 // RUN: -ivfsoverlay %t.yaml -fsyntax-only %s -verify -Wauto-import \
16 // RUN: -Werror=non-modular-include-in-framework-module
19 // RUN: echo ' ' >> %t/SomeFramework.framework/Modules/module.modulemap
20 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
21 // RUN: -ivfsoverlay %t.yaml -fsyntax-only %s -verify -Wauto-import \
22 // RUN: -Werror=non-modular-include-in-framework-module
25 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
26 // RUN: -ivfsoverlay %t.yaml -emit-pch %s -o %t.pch \
27 // RUN: -Werror=non-modular-include-in-framework-module \
28 // RUN: -fmodules-ignore-macro=WITH_PREFIX
29 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
30 // RUN: -ivfsoverlay %t.yaml -include-pch %t.pch -fsyntax-only %s \
31 // RUN: -Werror=non-modular-include-in-framework-module -DWITH_PREFIX \
32 // RUN: -fmodules-ignore-macro=WITH_PREFIX
35 // RUN: c-index-test -index-file %s -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache …
36 // RUN: -ivfsoverlay %t.yaml -fsyntax-only -Wauto-import \
37 // RUN: -Werror=non-modular-include-in-framework-module | FileCheck %s
38 // RUN: echo ' ' >> %t/SomeFramework.framework/Modules/module.modulemap
39 // RUN: c-index-test -index-file %s -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache …
40 // RUN: -ivfsoverlay %t.yaml -fsyntax-only -Wauto-import \
41 // RUN: -Werror=non-modular-include-in-framework-module | FileCheck %s
46 // RUN: mv %t/SomeFramework.framework/Modules/module.modulemap %t/hide_module.map
47 // RUN: echo "{ 'version': 0, 'roots': [ { " > %t2.yaml
48 // RUN: echo "'name': '%t/SomeFramework.framework/Modules/module.modulemap'," >> %t2.yaml
49 // RUN: echo "'type': 'file', 'external-contents': '%t/hide_module.map' } ] }" >> %t2.yaml
51 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
52 // RUN: -ivfsoverlay %t.yaml -ivfsoverlay %t2.yaml -fsyntax-only %s -verify \
53 // RUN: -Wauto-import -Werror=non-modular-include-in-framework-module
54 // RUN: echo ' ' >> %t/hide_module.map
55 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
56 // RUN: -ivfsoverlay %t.yaml -ivfsoverlay %t2.yaml -fsyntax-only %s -verify \
57 // RUN: -Wauto-import -Werror=non-modular-include-in-framework-module
60 // RUN: echo '@import import_some_frame;' | \
61 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
62 // RUN: -ivfsoverlay %t.yaml -ivfsoverlay %t2.yaml -fsyntax-only - \
63 // RUN: -Werror=non-modular-include-in-framework-module -x objective-c -I %t
64 // RUN: echo ' ' >> %t/hide_module.map
65 // RUN: echo '@import import_some_frame;' | \
66 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
67 // RUN: -ivfsoverlay %t.yaml -ivfsoverlay %t2.yaml -fsyntax-only - \
68 // RUN: -Werror=non-modular-include-in-framework-module -x objective-c -I %t