Fix tests for Jenkins that always build for iOS
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit is unstable
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit is unstable
This commit is contained in:
@@ -14,9 +14,8 @@ final class ResgenCLITests: XCTestCase {
|
||||
return
|
||||
}
|
||||
|
||||
// Mac Catalyst won't have `Process`, but it is supported for executables.
|
||||
#if !targetEnvironment(macCatalyst)
|
||||
|
||||
// Process available on Mac only
|
||||
#if os(macOS)
|
||||
let fooBinary = productsDirectory.appendingPathComponent("ResgenSwift")
|
||||
|
||||
let process = Process()
|
||||
|
||||
Reference in New Issue
Block a user