Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LoongArch64] supporting src/tests/run.sh on LA64. #74470

Merged
merged 3 commits into from
Aug 27, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coreclr/scripts/coreclr_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(self,
self.require_built_core_root = require_built_core_root
self.require_built_test_dir = require_built_test_dir

self.valid_arches = ["x64", "x86", "arm", "arm64", "wasm"]
self.valid_arches = ["x64", "x86", "arm", "arm64", "loongarch64", "wasm"]
self.valid_build_types = ["Debug", "Checked", "Release"]
self.valid_host_os = ["windows", "OSX", "Linux", "illumos", "Solaris", "Browser", "Android"]

Expand Down
5 changes: 4 additions & 1 deletion src/tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function print_usage {
echo 'Optional arguments:'
echo ' -h|--help : Show usage information.'
echo ' -v, --verbose : Show output from each test.'
echo ' <arch> : One of x64, x86, arm, arm64, loongarch64, riscv64, wasm. Defaults to current architecture.'
shushanhf marked this conversation as resolved.
Show resolved Hide resolved
echo ' <arch> : One of x64, x86, arm, arm64, loongarch64, riscv64, wasm. Defaults to x64.'
shushanhf marked this conversation as resolved.
Show resolved Hide resolved
echo ' Android : Set build OS to Android.'
echo ' --test-env=<path> : Script to set environment variables for tests'
echo ' --testRootDir=<path> : Root directory of the test build (e.g. runtime/artifacts/tests/windows.x64.Debug).'
Expand Down Expand Up @@ -129,6 +129,9 @@ do
arm64)
buildArch="arm64"
;;
loongarch64)
buildArch="loongarch64"
;;
wasm)
buildArch="wasm"
;;
Expand Down