Commit Graph

5 Commits

Author SHA1 Message Date
Alastair Houghton
2f6f051f75 Use rsync for remote-run.
Not only does this give us a huge speed-up, it also works around a problem
where sftp doesn't always update the modification time, which causes random
test failures.

rdar://88179140
2022-02-01 19:21:23 +00:00
Saleem Abdulrasool
2b8d57c2e3 test: sort the environment for remote-run
With Python 3, there have been some sorting inconsistencies.  Always
sort the items to allow for the lit test to reliably match the output.
2020-07-28 15:30:55 -07:00
Saleem Abdulrasool
043912fd93 remote-run: make tests partially pass on Windows
Not all the tests are possible to run on Windows since they expect a
Unix-like shell environment.  However, the rest of the tests can be
accommodated.  This actually found an issue in the implementation.
Since the implementation assumes the target is POSIX/Unix-y, we should
use posixpath rather than os.path which uses the host's path style.
2018-12-02 20:58:19 -08:00
Jordan Rose
a64ac39af0 [remote-run] Add -v/--verbose to dump shell and SFTP commands 2018-08-08 17:44:28 -07:00
Jordan Rose
10259e181f [remote-run] Send environment variables to the remote process
Taking a cue from Apple's 'simctl' tool, send over any variables
prefixed with REMOTE_RUN_CHILD_ (after stripping the prefix).
2018-08-08 17:42:55 -07:00