Skip to content

Commit 3f8f0b2

Browse files
committed
Ask for debug output
1 parent 1f5894e commit 3f8f0b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Sources/Commands/Utilities/TestingSupport.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ enum TestingSupport {
102102
sanitizers: sanitizers
103103
)
104104
let args = [path.description, "--dump-tests-json"]
105+
print(env)
105106
let data = try Process.checkNonZeroExit(arguments: args, environment: env)
106107
#endif
107108
// Parse json and return TestSuites.
@@ -135,8 +136,10 @@ enum TestingSupport {
135136
}
136137
#elseif os(Linux)
137138
// Pass this explicitly on Linux because XCTest started requiring it, rdar://103054033
138-
env["LD_LIBRARY_PATH"] = "/usr/lib/swift/linux"
139+
env["LD_LIBRARY_PATH"] = ".:/usr/lib/swift/linux/:."
140+
env["LD_DEBUG"] = "all"
139141
#endif
142+
print("env before return: \(env)")
140143
return env
141144
#else
142145
// Fast path when no sanitizers are enabled.

0 commit comments

Comments
 (0)