Skip to content

Commit

Permalink
SPMI: Handle sourcelink for NAOT smoke test collection (#111417)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch authored Jan 15, 2025
1 parent d454419 commit dda0d4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/coreclr/scripts/superpmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,9 @@ def map_rsp_argument(line):
if line.startswith("--exportsfile:"):
arg_path = os.path.join(test_native_directory, os.path.basename(line[len("--exportsfile:"):]))
return f"--exportsfile:{arg_path}"
elif line.startswith("--sourcelink:"):
arg_path = os.path.join(test_native_directory, os.path.basename(line[len("--sourcelink:"):]))
return f"--sourcelink:{arg_path}"
elif line.startswith("--descriptor:"):
arg_path = os.path.join(test_directory, os.path.basename(line[len("--descriptor:"):]))
return f"--descriptor:{arg_path}"
Expand Down

0 comments on commit dda0d4e

Please sign in to comment.