File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Sources/Commands/Utilities Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ enum TestingSupport {
102
102
sanitizers: sanitizers
103
103
)
104
104
let args = [ path. description, " --dump-tests-json " ]
105
+ print ( env)
105
106
let data = try Process . checkNonZeroExit ( arguments: args, environment: env)
106
107
#endif
107
108
// Parse json and return TestSuites.
@@ -135,8 +136,10 @@ enum TestingSupport {
135
136
}
136
137
#elseif os(Linux)
137
138
// 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 "
139
141
#endif
142
+ print ( " env before return: \( env) " )
140
143
return env
141
144
#else
142
145
// Fast path when no sanitizers are enabled.
You can’t perform that action at this time.
0 commit comments