Skip to content

Commit 65005b7

Browse files
authored
[LIT] Update the lit to use remote-run check and input prefix
1 parent cff02f8 commit 65005b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ def configure_remote_run():
19451945
"/usr/bin/env " +
19461946
construct_library_path_env(remote_run_lib_path) +
19471947
"'{0}'/remote-run ".format(config.swift_utils) +
1948-
"--input-prefix '{0}' ".format(config.src_root) +
1948+
"--input-prefix '{0}' ".format(config.swift_src_root) +
19491949
"--output-prefix %t " +
19501950
"--remote-dir '{0}'%t ".format(remote_tmp_dir) +
19511951
"{0} ".format(' '.join(remote_run_extra_args)) +
@@ -2148,7 +2148,7 @@ if run_vendor != 'apple':
21482148
if libdispatch_path is not None:
21492149
target_stdlib_path.append(libdispatch_path)
21502150

2151-
if 'remote-run-host' in lit_config.params:
2151+
if 'remote_run_host' in lit_config.params:
21522152
configure_remote_run()
21532153
elif not kIsWindows:
21542154
if 'use_os_stdlib' in lit_config.params:

0 commit comments

Comments
 (0)