@@ -228,9 +228,6 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
228228 results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
229229 task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/UnitTestTarget.xctest/Contents/MacOS/UnitTestTarget " , " normal " ] )
230230 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 )
234231 }
235232
236233 // There should be a 'Copy' of the generated header.
@@ -521,9 +518,6 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
521518 task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/PlugIns/UnitTestTargetOne.xctest/Contents/MacOS/UnitTestTargetOne " , " normal " ] )
522519 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 " ] )
523520
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-
527521 testTargetLinkTasks. append ( task)
528522 }
529523
@@ -2313,9 +2307,6 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
23132307 results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
23142308 task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/UITestTarget-Runner.app/Contents/PlugIns/UITestTarget.xctest/Contents/MacOS/UITestTarget " , " normal " ] )
23152309 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 )
23192310 }
23202311
23212312 // There should be a 'Copy' of the generated header.
0 commit comments