@@ -203,7 +203,7 @@ final class CachingBuildTests: XCTestCase {
203
203
try super. setUpWithError ( )
204
204
205
205
// If the toolchain doesn't support caching, skip directly.
206
- let driver = try Driver ( args: [ " swiftc " , " -v " ] )
206
+ let driver = try Driver ( args: [ " swiftc " ] )
207
207
#if os(Windows)
208
208
throw XCTSkip ( " caching not supported on windows " )
209
209
#else
@@ -240,7 +240,7 @@ final class CachingBuildTests: XCTestCase {
240
240
" -I " , swiftModuleInterfacesPath. nativePathString ( escaped: true ) ,
241
241
" -I " , stdlibPath. nativePathString ( escaped: true ) ,
242
242
" -I " , shimsPath. nativePathString ( escaped: true ) ,
243
- " -explicit-module-build " , " -v " ,
243
+ " -explicit-module-build " ,
244
244
" -cache-compile-job " , " -cas-path " , casPath. nativePathString ( escaped: true ) ,
245
245
" -import-objc-header " , bridgingHeaderpath. nativePathString ( escaped: true ) ,
246
246
main. nativePathString ( escaped: true ) ] + sdkArgumentsForTesting)
@@ -630,7 +630,7 @@ final class CachingBuildTests: XCTestCase {
630
630
var driver = try Driver ( args: [ " swiftc " ,
631
631
" -I " , cHeadersPath. nativePathString ( escaped: true ) ,
632
632
" -I " , swiftModuleInterfacesPath. nativePathString ( escaped: true ) ,
633
- " -explicit-module-build " , " -v " , " - Rcache-compile-job" ,
633
+ " -explicit-module-build " , " -Rcache-compile-job " ,
634
634
" -module-cache-path " , moduleCachePath. nativePathString ( escaped: true ) ,
635
635
" -cache-compile-job " , " -cas-path " , casPath. nativePathString ( escaped: true ) ,
636
636
" -working-directory " , path. nativePathString ( escaped: true ) ,
@@ -899,7 +899,7 @@ final class CachingBuildTests: XCTestCase {
899
899
var driver = try Driver ( args: [ " swiftc " ,
900
900
" -I " , cHeadersPath. nativePathString ( escaped: true ) ,
901
901
" -I " , swiftModuleInterfacesPath. nativePathString ( escaped: true ) ,
902
- " /tmp/Foo.o " , " -v " , " - g" ,
902
+ " /tmp/Foo.o " , " -g " ,
903
903
" -explicit-module-build " ,
904
904
" -cache-compile-job " , " -cas-path " , casPath. nativePathString ( escaped: true ) ,
905
905
" -working-directory " , path. nativePathString ( escaped: true ) ,
@@ -966,7 +966,7 @@ final class CachingBuildTests: XCTestCase {
966
966
var driver = try Driver ( args: [ " swiftc " ,
967
967
" -I " , cHeadersPath. nativePathString ( escaped: true ) ,
968
968
" -I " , swiftModuleInterfacesPath. nativePathString ( escaped: true ) ,
969
- " -explicit-module-build " , " -v " , " - Rcache-compile-job" , " -incremental " ,
969
+ " -explicit-module-build " , " -Rcache-compile-job " , " -incremental " ,
970
970
" -module-cache-path " , moduleCachePath. nativePathString ( escaped: true ) ,
971
971
" -cache-compile-job " , " -cas-path " , casPath. nativePathString ( escaped: true ) ,
972
972
" -import-objc-header " , bridgingHeaderpath. nativePathString ( escaped: true ) ,
@@ -1006,7 +1006,7 @@ final class CachingBuildTests: XCTestCase {
1006
1006
func testCASManagement( ) throws {
1007
1007
try withTemporaryDirectory { path in
1008
1008
let casPath = path. appending ( component: " cas " )
1009
- let driver = try Driver ( args: [ " swiftc " , " -v " ] )
1009
+ let driver = try Driver ( args: [ " swiftc " ] )
1010
1010
let scanLibPath = try XCTUnwrap ( driver. getSwiftScanLibPath ( ) )
1011
1011
try dependencyOracle. verifyOrCreateScannerInstance ( swiftScanLibPath: scanLibPath)
1012
1012
let cas = try dependencyOracle. getOrCreateCAS ( pluginPath: nil , onDiskPath: casPath, pluginOptions: [ ] )
0 commit comments