We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 655f8e2 commit e19e783Copy full SHA for e19e783
Tests/SwiftlyTests/CommandLineTests.swift
@@ -270,8 +270,9 @@ public struct CommandLineTests {
270
func testSwift() async throws {
271
let tmp = fs.mktemp()
272
try await fs.mkdir(atPath: tmp)
273
- try await sys.swift().package()._init(.package_path(tmp), .type("executable")).run()
274
- try await sys.swift().build(.package_path(tmp), .configuration("release")).run()
+ let swiftExec: Executable = .path(try Executable.name("swift").resolveExecutablePath(in: .inherit))
+ try await sys.swift(executable: swiftExec).package()._init(.package_path(tmp), .type("executable")).run()
275
+ try await sys.swift(executable: swiftExec).build(.package_path(tmp), .configuration("release")).run()
276
}
277
278
@Test func testMake() async throws {
0 commit comments