@@ -228,9 +228,6 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
228
228
results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
229
229
task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/UnitTestTarget.xctest/Contents/MacOS/UnitTestTarget " , " normal " ] )
230
230
task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. path. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. path. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. path. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.swiftmodule " , " -Xlinker " , " -needed_framework " , " -Xlinker " , " XCTest " , " -framework " , " XCTest " , " -Xlinker " , " -needed-lXCTestSwiftSupport " , " -lXCTestSwiftSupport " , " -framework " , " FrameworkTarget " , " -o " , " \( SRCROOT) /build/Debug/UnitTestTarget.xctest/Contents/MacOS/UnitTestTarget " ] )
231
-
232
- // We used to pass the deployment target to the linker in the environment, but this is supposedly no longer necessary.
233
- task. checkEnvironment ( [ : ] , exact: true )
234
231
}
235
232
236
233
// There should be a 'Copy' of the generated header.
@@ -521,9 +518,6 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
521
518
task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/PlugIns/UnitTestTargetOne.xctest/Contents/MacOS/UnitTestTargetOne " , " normal " ] )
522
519
task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. path. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. path. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -rpath " , " -Xlinker " , " @executable_path/../Frameworks " , " -bundle_loader " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/MacOS/AppTarget " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. path. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.swiftmodule " , " -Xlinker " , " -needed_framework " , " -Xlinker " , " XCTest " , " -framework " , " XCTest " , " -Xlinker " , " -needed-lXCTestSwiftSupport " , " -lXCTestSwiftSupport " , " -Xlinker " , " -no_adhoc_codesign " , " -o " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/PlugIns/UnitTestTargetOne.xctest/Contents/MacOS/UnitTestTargetOne " ] )
523
520
524
- // We used to pass the deployment target to the linker in the environment, but this is supposedly no longer necessary.
525
- task. checkEnvironment ( [ : ] , exact: true )
526
-
527
521
testTargetLinkTasks. append ( task)
528
522
}
529
523
@@ -2313,9 +2307,6 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
2313
2307
results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
2314
2308
task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/UITestTarget-Runner.app/Contents/PlugIns/UITestTarget.xctest/Contents/MacOS/UITestTarget " , " normal " ] )
2315
2309
task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. path. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. path. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. path. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.swiftmodule " , " -Xlinker " , " -needed_framework " , " -Xlinker " , " XCTest " , " -framework " , " XCTest " , " -Xlinker " , " -needed-lXCTestSwiftSupport " , " -lXCTestSwiftSupport " , " -Xlinker " , " -no_adhoc_codesign " , " -o " , " \( SRCROOT) /build/Debug/UITestTarget-Runner.app/Contents/PlugIns/UITestTarget.xctest/Contents/MacOS/UITestTarget " ] )
2316
-
2317
- // We used to pass the deployment target to the linker in the environment, but this is supposedly no longer necessary.
2318
- task. checkEnvironment ( [ : ] , exact: true )
2319
2310
}
2320
2311
2321
2312
// There should be a 'Copy' of the generated header.
0 commit comments