Skip to content

Commit dda0d4e

Browse files
authored
SPMI: Handle sourcelink for NAOT smoke test collection (#111417)
1 parent d454419 commit dda0d4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/coreclr/scripts/superpmi.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,9 @@ def map_rsp_argument(line):
12071207
if line.startswith("--exportsfile:"):
12081208
arg_path = os.path.join(test_native_directory, os.path.basename(line[len("--exportsfile:"):]))
12091209
return f"--exportsfile:{arg_path}"
1210+
elif line.startswith("--sourcelink:"):
1211+
arg_path = os.path.join(test_native_directory, os.path.basename(line[len("--sourcelink:"):]))
1212+
return f"--sourcelink:{arg_path}"
12101213
elif line.startswith("--descriptor:"):
12111214
arg_path = os.path.join(test_directory, os.path.basename(line[len("--descriptor:"):]))
12121215
return f"--descriptor:{arg_path}"

0 commit comments

Comments
 (0)