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 a19077e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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 @@ -136,7 +137,9 @@ 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_DEBUG"] = "all"
#endif
print("env before return: \(env)")
return env
#else
// Fast path when no sanitizers are enabled.
Expand Down

0 comments on commit a19077e

Please sign in to comment.