Skip to content

Commit 1a31f38

Browse files
committed
[test] lit.cfg: List the contents of the remote directory after upload
This will be very helpful while debugging CI issues.
1 parent 4b881cf commit 1a31f38

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/lit.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,6 +1886,18 @@ def configure_remote_run():
18861886
os.path.dirname(local_swift_reflection_test),
18871887
'bin/')
18881888

1889+
print("Contents of {0} on {1} after upload:".format(
1890+
remote_lib_dir, remote_run_host))
1891+
subprocess.check_call(
1892+
[
1893+
os.path.join(config.swift_utils, 'remote-run'),
1894+
'--remote-dir', remote_tmp_dir,
1895+
] + remote_run_extra_args + [
1896+
remote_run_host,
1897+
'--',
1898+
'ls', '-l', remote_lib_dir
1899+
])
1900+
18891901
config.target_env_prefix = 'REMOTE_RUN_CHILD_'
18901902
config.target_run = (
18911903
"/usr/bin/env " +

0 commit comments

Comments
 (0)