Skip to content

Commit

Permalink
Ask for debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
neonichu committed Dec 7, 2022
1 parent 1f5894e commit 3f8f0b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Sources/Commands/Utilities/TestingSupport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ enum TestingSupport {
sanitizers: sanitizers
)
let args = [path.description, "--dump-tests-json"]
print(env)
let data = try Process.checkNonZeroExit(arguments: args, environment: env)
#endif
// Parse json and return TestSuites.
Expand Down Expand Up @@ -135,8 +136,10 @@ enum TestingSupport {
}
#elseif os(Linux)
// Pass this explicitly on Linux because XCTest started requiring it, rdar://103054033
env["LD_LIBRARY_PATH"] = "/usr/lib/swift/linux"
env["LD_LIBRARY_PATH"] = ".:/usr/lib/swift/linux/:."
env["LD_DEBUG"] = "all"
#endif
print("env before return: \(env)")
return env
#else
// Fast path when no sanitizers are enabled.
Expand Down

0 comments on commit 3f8f0b2

Please sign in to comment.