diff --git a/test/CAS/Xcc_args.swift b/test/CAS/Xcc_args.swift index dfb033b5b6f70..af3583fb02dbf 100644 --- a/test/CAS/Xcc_args.swift +++ b/test/CAS/Xcc_args.swift @@ -8,6 +8,15 @@ // RUN: -Xcc -I%t/empty.hmap -module-load-mode prefer-serialized \ // RUN: -file-compilation-dir %t +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shims.cmd // RUN: %swift_frontend_plain @%t/shims.cmd diff --git a/test/CAS/Xcc_objc_direct.swift b/test/CAS/Xcc_objc_direct.swift index e9b64f63a10c9..25abb4008ea68 100644 --- a/test/CAS/Xcc_objc_direct.swift +++ b/test/CAS/Xcc_objc_direct.swift @@ -7,6 +7,15 @@ // RUN: -file-compilation-dir %t \ // RUN: -I %t/include -module-load-mode prefer-serialized +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shims.cmd // RUN: %swift_frontend_plain @%t/shims.cmd diff --git a/test/CAS/block-list.swift b/test/CAS/block-list.swift index 88736827be18c..38ba8645effb0 100644 --- a/test/CAS/block-list.swift +++ b/test/CAS/block-list.swift @@ -7,8 +7,18 @@ // RUN: -scanner-prefix-map-paths %t /^tmp -I %t/include \ // RUN: %t/main.swift -o %t/deps.json -cache-compile-job -cas-path %t/cas +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json A > %t/A.cmd // RUN: %swift_frontend_plain @%t/A.cmd diff --git a/test/CAS/bridging-header-prefix-map.swift b/test/CAS/bridging-header-prefix-map.swift index fb594e082a08b..34810f8076495 100644 --- a/test/CAS/bridging-header-prefix-map.swift +++ b/test/CAS/bridging-header-prefix-map.swift @@ -25,9 +25,20 @@ // RUN: %{python} %S/Inputs/SwiftDepsExtractor.py %t/deps-2.json Test casFSRootID > %t/root-2.casid // RUN: diff %t/root-1.casid %t/root-2.casid +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps-1.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps-1.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps-1.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps-1.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps-1.json bridgingHeader > %t/header.cmd + // RUN: %target-swift-frontend @%t/header.cmd /^header/Bridging.h -disable-implicit-swift-modules -O -o %t/bridging.pch // RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- \ // RUN: %target-swift-frontend @%t/header.cmd /^header/Bridging.h -disable-implicit-swift-modules -O -o %t/bridging.pch > %t/keys.json diff --git a/test/CAS/cached_diagnostics.swift b/test/CAS/cached_diagnostics.swift index 7457425423030..8ed6ef333fac6 100644 --- a/test/CAS/cached_diagnostics.swift +++ b/test/CAS/cached_diagnostics.swift @@ -4,10 +4,20 @@ // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \ // RUN: %s -o %t/deps.json -cache-compile-job -cas-path %t/cas -module-load-mode prefer-serialized -scanner-output-dir %t +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json bridgingHeader > %t/header.cmd + // RUN: %target-swift-frontend @%t/header.cmd %S/Inputs/objc.h -disable-implicit-swift-modules -O -o %t/objc.pch 2>&1 | %FileCheck %s -check-prefix CHECK-BRIDGE // RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-output-keys -- \ // RUN: %target-swift-frontend @%t/header.cmd %S/Inputs/objc.h -disable-implicit-swift-modules -O -o %t/objc.pch > %t/keys.json diff --git a/test/CAS/cached_diagnostics_macro.swift b/test/CAS/cached_diagnostics_macro.swift index 0ed3c0f9365c0..711a2f9158a46 100644 --- a/test/CAS/cached_diagnostics_macro.swift +++ b/test/CAS/cached_diagnostics_macro.swift @@ -16,6 +16,16 @@ // RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-include-tree-list @%t/fs.casid | %FileCheck %s --check-prefix=FS // FS: MacroDefinition + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/SwiftShims.cmd // RUN: %swift_frontend_plain @%t/SwiftShims.cmd diff --git a/test/CAS/cached_diagnostics_pcm.swift b/test/CAS/cached_diagnostics_pcm.swift index 240f1d5ee2718..feca4ff15a7dd 100644 --- a/test/CAS/cached_diagnostics_pcm.swift +++ b/test/CAS/cached_diagnostics_pcm.swift @@ -5,6 +5,15 @@ // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \ // RUN: %t/test.swift -o %t/deps.json -cache-compile-job -cas-path %t/cas -module-load-mode prefer-serialized +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd diff --git a/test/CAS/coverage-dir.swift b/test/CAS/coverage-dir.swift index 69d79c94831fb..e768eff54ccac 100644 --- a/test/CAS/coverage-dir.swift +++ b/test/CAS/coverage-dir.swift @@ -5,8 +5,18 @@ // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \ // RUN: %t/main.swift -o %t/deps.json -cache-compile-job -cas-path %t/cas -profile-coverage-mapping -profile-generate +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json A > %t/A.cmd // RUN: %swift_frontend_plain @%t/A.cmd diff --git a/test/CAS/cross_import.swift b/test/CAS/cross_import.swift index 278aca258f28c..27566e0df4cb5 100644 --- a/test/CAS/cross_import.swift +++ b/test/CAS/cross_import.swift @@ -21,8 +21,18 @@ // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import -O \ // RUN: -o %t/deps.json -I %t -cache-compile-job -cas-path %t/cas -swift-version 5 -enable-cross-import-overlays -module-load-mode prefer-serialized +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:C > %t/C.cmd // RUN: %swift_frontend_plain @%t/C.cmd diff --git a/test/CAS/macro_deps.swift b/test/CAS/macro_deps.swift index 2f8292e83aa13..3509c99ab12e5 100644 --- a/test/CAS/macro_deps.swift +++ b/test/CAS/macro_deps.swift @@ -28,6 +28,16 @@ // APP-DEPS: MacroTwo /// Build all dependencies. + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/SwiftShims.cmd // RUN: %swift_frontend_plain @%t/SwiftShims.cmd diff --git a/test/CAS/macro_option_set.swift b/test/CAS/macro_option_set.swift index b8119203dec77..f7ec25bbcdcfe 100644 --- a/test/CAS/macro_option_set.swift +++ b/test/CAS/macro_option_set.swift @@ -11,6 +11,15 @@ // FS: SwiftMacros +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/SwiftShims.cmd // RUN: %swift_frontend_plain @%t/SwiftShims.cmd diff --git a/test/CAS/macro_plugin.swift b/test/CAS/macro_plugin.swift index 396b010f0d2f0..8ba390953d1d6 100644 --- a/test/CAS/macro_plugin.swift +++ b/test/CAS/macro_plugin.swift @@ -24,6 +24,15 @@ // FS: MacroDefinition +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/SwiftShims.cmd // RUN: %swift_frontend_plain @%t/SwiftShims.cmd diff --git a/test/CAS/macro_plugin_external.swift b/test/CAS/macro_plugin_external.swift index 2a3f1c965f3df..d5abea3b77608 100644 --- a/test/CAS/macro_plugin_external.swift +++ b/test/CAS/macro_plugin_external.swift @@ -33,6 +33,15 @@ // FS: MacroDefinition +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/SwiftShims.cmd // RUN: %swift_frontend_plain @%t/SwiftShims.cmd @@ -59,6 +68,15 @@ /// CASFS is remapped. // FS-REMAP: /^test/plugins/[[LIB]] +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps2.json clang:SAL > %t/sal2.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/sal2.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps2.json clang:vcruntime > %t/vcruntime2.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime2.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps2.json clang:_Builtin_stdint > %t/_Builtin_stdint2.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint2.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps2.json clang:SwiftShims > %t/SwiftShims2.cmd // RUN: %swift_frontend_plain @%t/SwiftShims2.cmd diff --git a/test/CAS/opt-record.swift b/test/CAS/opt-record.swift index 3625d6c7b9406..05c51455894f6 100644 --- a/test/CAS/opt-record.swift +++ b/test/CAS/opt-record.swift @@ -4,6 +4,15 @@ // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \ // RUN: %s -o %t/deps.json -swift-version 5 -cache-compile-job -cas-path %t/cas +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd diff --git a/test/CAS/reproducer.swift b/test/CAS/reproducer.swift index fda6882ba81ab..f9d1f5259f66f 100644 --- a/test/CAS/reproducer.swift +++ b/test/CAS/reproducer.swift @@ -6,10 +6,21 @@ // RUN: -import-objc-header %t/Bridging.h -scanner-output-dir %t -auto-bridging-header-chaining -scanner-debug-write-output \ // RUN: %t/test.swift %t/foo.swift -I %t/include -o %t/deps.json -cache-compile-job -cas-path %t/cas +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:Dummy > %t/dummy.cmd // RUN: %swift_frontend_plain @%t/dummy.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json Simple > %t/simple.cmd // RUN: %swift_frontend_plain @%t/simple.cmd diff --git a/test/CAS/uncached-casfs.swift b/test/CAS/uncached-casfs.swift index 92620e7ef96eb..90d11b4355d18 100644 --- a/test/CAS/uncached-casfs.swift +++ b/test/CAS/uncached-casfs.swift @@ -6,8 +6,18 @@ // RUN: -import-objc-header %t/base/Bridging.h -scanner-output-dir %t -auto-bridging-header-chaining -scanner-debug-write-output \ // RUN: %t/base/test.swift %t/base/foo.swift -I %t/include -o %t/deps.json -cache-compile-job -cas-path %t/cas +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:SAL > %t/SAL.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/SAL.cmd %} + +// RUN: %if OS=windows-msvc %{ %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:vcruntime > %t/vcruntime.cmd %} +// RUN: %if OS=windows-msvc %{ %swift_frontend_plain @%t/vcruntime.cmd %} + +// RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:_Builtin_stdint > %t/_Builtin_stdint.cmd +// RUN: %swift_frontend_plain @%t/_Builtin_stdint.cmd + // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps.json clang:SwiftShims > %t/shim.cmd // RUN: %swift_frontend_plain @%t/shim.cmd + // RUN: %{python} %S/Inputs/BuildCommandExtractor.py %t/deps.json clang:Dummy > %t/dummy.cmd // RUN: %swift_frontend_plain @%t/dummy.cmd