Skip to content

Commit

Permalink
Build ILLink before building smoke_tests (dotnet#94000)
Browse files Browse the repository at this point in the history
  • Loading branch information
TIHan authored Oct 27, 2023
1 parent 59c1734 commit b7d4bdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/scripts/superpmi_collect_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,9 @@ def make_readable(folder_name):

# Build nativeaot tests
if coreclr_args.collection_type == "nativeaot":
build_file = "build.cmd" if is_windows else "build.sh"
tests_build_file = "build.cmd" if is_windows else "build.sh"
run_command([os.path.join(source_directory, build_file), "Tools.ILLink", "-arch", arch, "-c", coreclr_args.build_type])
run_command([os.path.join(tests_directory, tests_build_file), "nativeaot", arch, coreclr_args.build_type, "tree", "nativeaot/SmokeTests"], source_directory)

# NOTE: we can't use the build machine ".dotnet" to run on all platforms. E.g., the Windows x86 build uses a
Expand Down

0 comments on commit b7d4bdf

Please sign in to comment.