Louis Dionne
160b01c9ef
[libc++] SSH: Use -p when scp'ing to preserve modes and modification times
2020-04-01 12:32:23 -04:00
Louis Dionne
0489d39ead
[libc++] SSH: Properly handle test-executables that are not the first argument
...
If a ShTest has for example another command in front of the test
executable it wants to execute, ssh.py needs to properly translate
the path of that test executable to the executable on the remote host.
For example, running '%{exec} ! %t.exe', we can't assume that the
test-executable is the first argument after '%{exec}'.
2020-04-01 11:44:39 -04:00
Louis Dionne
64acef386e
[libc++] Handle SSH errors more gracefully and make sure we clean up the tmp directory
2020-04-01 11:00:39 -04:00
Sergej Jaskiewicz
fee0026fc7
[libc++abi] Fix remote execution of .sh.cpp tests
...
This aims to fix test failures on the following buildbots:
- http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l
- http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64
Differential Revision: https://reviews.llvm.org/D77190
2020-04-01 10:09:07 -04:00
Louis Dionne
1c0dd57cd3
[libc++] Use 'export' instead of 'env' to run remote commands
...
This allows running commands that use shell builtins remotely too, when
'env' would complain that it can't find the program.
2020-03-31 17:11:28 -04:00
Louis Dionne
07e462526d
[libc++] Allow running .sh.cpp tests with SSHExecutors
...
This commit adds a script that can be used as an %{exec} substitution
such that .sh.cpp tests can now run on remote hosts when using the
SSHExecutor.
2020-03-31 15:50:42 -04:00