Fix tests for Jenkins that always build for iOS
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit is unstable

This commit is contained in:
2025-04-30 12:03:57 +02:00
parent ae7c0abbc2
commit 1dbf4c643d
7 changed files with 38 additions and 36 deletions

View File

@@ -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()