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 332d9b0 commit 6cb86f7Copy full SHA for 6cb86f7
Tests/FunctionalTests/MiscellaneousTests.swift
@@ -566,7 +566,19 @@ class MiscellaneousTestCase: XCTestCase {
566
XCTAssertMatch(stdout, .contains("Hello, world"))
567
XCTAssertMatch(stdout, .contains("Hello, planet"))
568
} catch {
569
+ #if os(macOS) && arch(arm64)
570
+ // Add some logging but ignore the failure for an environment being investigated.
571
+ let (stdout, stderr) = try executeSwiftTest(prefix, extraArgs: ["-v"])
572
+ print("testTestsCanLinkAgainstExecutable failed")
573
+ print("ENV:\n")
574
+ for (k, v) in ProcessEnv.vars.sorted(by: { $0.key < $1.key }) {
575
+ print(" \(k)=\(v)")
576
+ }
577
+ print("STDOUT:\n\(stdout)")
578
+ print("STDERR:\n\(stderr)")
579
+ #else
580
XCTFail("\(error)")
581
+ #endif
582
}
583
584
0 commit comments