Files
swift-mirror/test/remote-run/lit.local.cfg
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

8 lines
392 B
INI

# Make a local copy of the substitutions.
config.substitutions = list(config.substitutions)
config.substitutions.insert(0, ('%debug-remote-run',
r'%r %%utils/remote-run --debug-as-local --remote-dir %%t-REMOTE' % (sys.executable,)))
config.substitutions.insert(0, ('%remote-run',
r'%r %%utils/remote-run' % (sys.executable,)))