[libc++] Quietly scp tarballs over with the remote executor
authorLouis Dionne <ldionne@apple.com>
Fri, 24 Apr 2020 18:47:09 +0000 (14:47 -0400)
committerLouis Dionne <ldionne@apple.com>
Fri, 24 Apr 2020 18:47:56 +0000 (14:47 -0400)
Otherwise, the progress-meter is printed.

libcxx/utils/ssh.py

index 4bb983e..6329cb4 100644 (file)
@@ -37,7 +37,7 @@ def main():
     commandLine = remaining[1:] # Skip the '--'
 
     ssh = lambda command: ['ssh', '-oBatchMode=yes', args.host, command]
-    scp = lambda src, dst: ['scp', '-oBatchMode=yes', src, '{}:{}'.format(args.host, dst)]
+    scp = lambda src, dst: ['scp', '-q', '-oBatchMode=yes', src, '{}:{}'.format(args.host, dst)]
 
     # Create a temporary directory where the test will be run.
     tmp = subprocess.check_output(ssh('mktemp -d /tmp/libcxx.XXXXXXXXXX'), universal_newlines=True).strip()