Skip to content

Commit 2ab31b6

Browse files
committed
[libc++] When run in verbose mode, ssh.py should print to stderr, not stdout
Otherwise this can mess up the test results which inspect stdout.
1 parent 1ce7013 commit 2ab31b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/utils/ssh.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def scp(src, dst):
5353

5454
def runCommand(command, *args_, **kwargs):
5555
if args.verbose:
56-
print(f"$ {' '.join(command)}")
56+
print(f"$ {' '.join(command)}", file=sys.stderr)
5757
return subprocess.run(command, *args_, **kwargs)
5858

5959
# Create a temporary directory where the test will be run.

0 commit comments

Comments
 (0)