diff --git a/Sources/SwiftDriverExecution/MultiJobExecutor.swift b/Sources/SwiftDriverExecution/MultiJobExecutor.swift index 248656e62..fa15febc0 100644 --- a/Sources/SwiftDriverExecution/MultiJobExecutor.swift +++ b/Sources/SwiftDriverExecution/MultiJobExecutor.swift @@ -607,6 +607,13 @@ class ExecuteJobRule: LLBuildRule { let result = try process.waitUntilExit() let success = result.exitStatus == .terminated(code: EXIT_SUCCESS) + + if !success { + print("Job failure: \(job)") + print("Output: \(try result.utf8Output())") + print("Err Output: \(try result.utf8stderrOutput())") + } + if !success { switch result.exitStatus { case let .terminated(code): diff --git a/Tests/SwiftDriverTests/JobExecutorTests.swift b/Tests/SwiftDriverTests/JobExecutorTests.swift index 5fedcd6ae..2063dbccb 100644 --- a/Tests/SwiftDriverTests/JobExecutorTests.swift +++ b/Tests/SwiftDriverTests/JobExecutorTests.swift @@ -96,12 +96,6 @@ extension DarwinToolchain { final class JobExecutorTests: XCTestCase { func testDarwinBasic() throws { #if os(macOS) - #if arch(arm64) - // Disabled on Apple Silicon - // rdar://76609781 - throw XCTSkip() - #endif - let executor = try SwiftDriverExecutor(diagnosticsEngine: DiagnosticsEngine(), processSet: ProcessSet(), fileSystem: localFileSystem, @@ -221,11 +215,6 @@ final class JobExecutorTests: XCTestCase { /// Ensure the executor is capable of forwarding its standard input to the compile job that requires it. func testInputForwarding() throws { #if os(macOS) - #if arch(arm64) - // Disabled on Apple Silicon - // rdar://76609781 - throw XCTSkip() - #endif let executor = try SwiftDriverExecutor(diagnosticsEngine: DiagnosticsEngine(), processSet: ProcessSet(), fileSystem: localFileSystem, @@ -456,12 +445,6 @@ final class JobExecutorTests: XCTestCase { } func testSaveTemps() throws { - #if os(macOS) && arch(arm64) - // Disabled on Apple Silicon - // rdar://76609781 - throw XCTSkip() - #endif - do { try withTemporaryDirectory { path in let main = path.appending(component: "main.swift")