Skip to content

Commit 519af3b

Browse files
kcieplakowenv
authored andcommitted
Update 'toolBasics' test to match Windows library naming.
The toolBasics test was expecting the static library to be named 'libSupport.lib', but with the change to remove the EXECUTABLE_PREFIX, this needs to be 'Support.lib'.
1 parent d119743 commit 519af3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SWBTaskConstructionTests/TaskConstructionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ fileprivate struct TaskConstructionTests: CoreBasedTests {
17441744
let effectivePlatformName = results.builtProductsDirSuffix(target)
17451745
let targetBuildDir = Path("\(SRCROOT)/build/Debug\(effectivePlatformName)")
17461746
let targetObjectsPerArchBuildBaseDir = Path("\(SRCROOT)/build/aProject.build/Debug\(effectivePlatformName)/Support.build/Objects-normal/")
1747-
let libSupportFileName = "libSupport\(runDestination == .windows ? ".lib" : ".a")"
1747+
let libSupportFileName = runDestination == .windows ? "Support.lib" : "libSupport.a"
17481748

17491749
if versioningSupported {
17501750
results.checkTask(.matchTarget(target), .matchRuleType("WriteAuxiliaryFile"), .matchRuleItemBasename("Support_vers.c")) { _ in }

0 commit comments

Comments
 (0)