mirror of
https://github.com/apple/swift.git
synced 2026-11-18 04:54:16 +01:00
This PR contains two independent fixes to make `test/Backtracing/` pass when lit is driven through `remote-run`: * Prefix `SWIFT_BACKTRACE` with `%env-` so it is forwarded to the remote process under `remote-run`. Under `remote-run`, only variables matching the `%env-` prefix substitution (expands to `REMOTE_RUN_CHILD_`) are forwarded to the remote process. * Add generated `.dSYM` bundles to the test command so they are rsync'd by `remote-run` alongside test binaries. remote-run` only rsyncs paths that appear on the command line.