| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | config.py | 2 # -*- coding: utf-8 -*- 4 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 9 # http://www.apache.org/licenses/LICENSE-2.0 24 from runner.logger import Log 25 from runner.options.cli_args_wrapper import CliArgsWrapper 26 from runner.options.config_keeper import ConfigKeeper 27 from runner.options.decorator_value import value, _to_test_suites, _to_str 28 from runner.options.options_ark import ArkOptions 29 from runner.options.options_ark_aot import ArkAotOptions 30 from runner.options.options_custom import CustomSuiteOptions [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | throw.yaml | 1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 23 - file-name: "throw" 28 - sig: throw v:in:ref 32 - x_throw 34 - file-name: "when_reg_is_invalid" 38 - sig: throw v:in:ref 42 - v1_throw_type 43 runner-options: ['compile-failure'] [all …]
|
| D | ststatic.obj.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 47 - file-name: "ststatic.obj" 53 - sig: ststatic.obj field_id 57 - file-name: "check_if_acc_initialized" 61 header-template: ['pandasm_header'] 62 check-type: exit-positive 65 runner-options: ['verifier-failure', 'verifier-config'] 66 code-template: | [all …]
|
| D | ldstatic.64.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 36 - file-name: "ldstatic.64" 42 - sig: ldstatic.64 field_id 46 - file-name: "with_non_static_field_id" 50 - field_id_static 51 header-template: [] 52 check-type: exit-positive 53 code-template: | [all …]
|
| D | ldstatic.obj.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 48 - file-name: "ldstatic.obj" 54 - sig: ldstatic.obj field_id 58 - file-name: "with_non_static_field_id" 62 - field_id_static 63 header-template: [] 64 check-type: exit-positive 65 code-template: | [all …]
|
| D | ststatic.64.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 42 - file-name: "ststatic.64" 46 …Store accumulator content into static field by field_id. For non-object variant the size of actual… 49 - sig: ststatic.64 field_id 53 - file-name: "check_if_acc_initialized" 57 header-template: ['pandasm_header'] 58 check-type: exit-positive 61 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| D | stobj.obj.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 47 - file-name: "stobj.obj" 53 - sig: stobj.obj v:in:ref, field_id 57 - file-name: "check_if_regs_initialized" 61 header-template: ['pandasm_header'] 62 check-type: exit-positive 65 runner-options: ['verifier-failure', 'verifier-config'] 66 code-template: | [all …]
|
| D | ldstatic.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 37 - file-name: "ldstatic" 43 - sig: ldstatic field_id 47 - file-name: "with_non_static_field_id" 51 - field_id_static 52 header-template: [] 53 check-type: exit-positive 54 code-template: | [all …]
|
| D | stobj.v.obj.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 42 - file-name: "stobj.v.obj" 48 - sig: stobj.v.obj v1:in:ref, v2:in:ref, field_id 52 - file-name: "check_if_regs_initialized" 56 header-template: ['pandasm_header'] 57 check-type: exit-positive 59 runner-options: ['verifier-failure', 'verifier-config'] 60 code-template: | [all …]
|
| D | ststatic.yaml | 1 # Copyright (c) 2021-2025 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 42 - file-name: "ststatic" 46 …Store accumulator content into static field by field_id. For non-object variant the size of actual… 49 - sig: ststatic field_id 53 - file-name: "check_if_acc_initialized" 57 header-template: ['pandasm_header'] 58 check-type: exit-positive 61 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | README.md | 1 # Test generator and test runner tools 8 * `CTS_TEST_SELECT_OPTION` - options, passed to test-runner.rb. 9 Useful for defining `--exclude-tag` and `--include-tag` options. 10 * `PANDA_CTS_JOBS_NUMBER` - amount of parallel jobs for test execution. Default is 8. 14 Options: 17 Usage: generate-cts.rb [options] 18 -t, --template FILE Path to template yaml file to generate tests (required) 19 -s, --schema FILE Path to json schema for template yaml (required) 20 -k, --skip Skip yaml schema validation 21 -o, --output DIR Path to directory where tests will be generated (required) [all …]
|
| D | test-runner.rb | 2 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 # http://www.apache.org/licenses/LICENSE-2.0 27 require_relative 'runner/runner' 28 require_relative 'runner/single_test_runner' 29 require_relative 'runner/reporters/test_reporter' 30 require_relative 'runner/reporters/jtr_reporter' 31 require_relative 'runner/reporters/allure_reporter' 33 def check_option(optparser, options, key) argument 34 return if options[key] 36 puts "Missing option: --#{key}" [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/ |
| D | README.md | 1 # Test generator and test runner tools 8 * `CTS_TEST_SELECT_OPTION` - options, passed to test-runner.rb. 9 Useful for defining `--exclude-tag` and `--include-tag` options. 10 * `PANDA_CTS_JOBS_NUMBER` - amount of parallel jobs for test execution. Default is 8. 14 Options: 17 Usage: generate-cts.rb [options] 18 -t, --template FILE Path to template yaml file to generate tests (required) 19 -s, --schema FILE Path to json schema for template yaml (required) 20 -k, --skip Skip yaml schema validation 21 -o, --output DIR Path to directory where tests will be generated (required) [all …]
|
| D | test-runner.rb | 2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 # http://www.apache.org/licenses/LICENSE-2.0 27 require_relative 'runner/runner' 28 require_relative 'runner/single_test_runner' 29 require_relative 'runner/reporters/test_reporter' 30 require_relative 'runner/reporters/jtr_reporter' 31 require_relative 'runner/reporters/allure_reporter' 33 def check_option(optparser, options, key) argument 34 return if options[key] 36 puts "Missing option: --#{key}" [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | throw.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: PandaAssembly_header 25 - name: pandasm_header 35 - file-name: "throw" 40 - sig: throw v:in:ref 44 - x_throw 47 - file-name: "when_reg_is_invalid" 51 - sig: throw v:in:ref 55 - v1_throw_type [all …]
|
| D | ststatic.64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 47 - file-name: "ststatic.64" 51 …Store accumulator content into static field by field_id. For non-object variant the size of actual… 54 - sig: ststatic.64 field_id 59 - file-name: "check_if_acc_initialized" 63 header-template: ['pandasm_header'] 64 check-type: exit-positive 67 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| D | ststatic.obj.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 51 - name: PandaAssembly_header 90 - file-name: "ststatic.obj" 96 - sig: ststatic.obj field_id 101 - file-name: "check_if_acc_initialized" 105 header-template: ['pandasm_header'] 106 check-type: exit-positive 109 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| D | ldstatic.64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 39 - name: PandaAssembly_header 61 - file-name: "ldstatic.64" 67 - sig: ldstatic.64 field_id 72 - file-name: "with_non_static_field_id" 76 - field_id_static 77 header-template: [] 78 check-type: exit-positive [all …]
|
| D | stobj.obj.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 51 - name: PandaAssembly_header 90 - file-name: "stobj.obj" 96 - sig: stobj.obj v:in:ref, field_id 101 - file-name: "check_if_regs_initialized" 105 header-template: ['pandasm_header'] 106 check-type: exit-positive 109 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| D | stobj.v.obj.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 42 - name: PandaAssembly_header 70 - file-name: "stobj.v.obj" 76 - sig: stobj.v.obj v1:in:ref, v2:in:ref, field_id 81 - file-name: "check_if_regs_initialized" 85 header-template: ['pandasm_header'] 86 check-type: exit-positive 88 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| D | ldstatic.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 38 - name: PandaAssembly_header 60 - file-name: "ldstatic" 66 - sig: ldstatic field_id 71 - file-name: "with_non_static_field_id" 75 - field_id_static 76 header-template: [] 77 check-type: exit-positive [all …]
|
| D | ststatic.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 47 - file-name: "ststatic" 51 …Store accumulator content into static field by field_id. For non-object variant the size of actual… 54 - sig: ststatic field_id 59 - file-name: "check_if_acc_initialized" 63 header-template: ['pandasm_header'] 64 check-type: exit-positive 67 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/options/ |
| D | config.py | 2 # -*- coding: utf-8 -*- 4 # Copyright (c) 2024-2025 Huawei Device Co., Ltd. 9 # http://www.apache.org/licenses/LICENSE-2.0 21 from runner.logger import Log 22 from runner.options.cli_args_wrapper import CliArgsWrapper 23 from runner.options.options import IOptions 24 from runner.options.options_general import GeneralOptions 25 from runner.options.options_test_suite import TestSuiteOptions 26 from runner.options.options_workflow import WorkflowOptions 34 def __init__(self, args: dict[str, Any]): # type: ignore[explicit-any] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/src/arkts_playground/routers/ |
| D | compile_run.py | 2 # -*- coding: utf-8 -*- 4 # Copyright (c) 2024-2025 Huawei Device Co., Ltd. 9 # http://www.apache.org/licenses/LICENSE-2.0 21 from ..deps.runner import get_runner, Runner 33 runner: Annotated[Runner, Depends(get_runner)]) -> CompileResponse: argument 34 result = await runner.compile_arkts( 36 options=runner.parse_compile_options(body.options), 48 runner: Annotated[Runner, Depends(get_runner)]) -> RunResponse: argument 49 result = await runner.compile_run_arkts( 51 options=runner.parse_compile_options(body.options), [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/ |
| D | runner.sh | 2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd. 7 # http://www.apache.org/licenses/LICENSE-2.0 15 set -e 17 if [[ -z "$1" ]]; then 18 echo "Usage: runner.sh <runner options>" 19 echo " <runner options> options to main.py. To see full list use --help" 25 ROOT_DIR=${STATIC_ROOT_DIR:-"${SCRIPT_DIR}/../.."} 27 RUNNER="${ROOT_DIR}/tests/tests-u-runner/main.py" 29 source "${ROOT_DIR}/scripts/python/venv-utils.sh" 34 echo "ALL OPTIONS:" "$@" [all …]
|