| /arkcompiler/ets_frontend/es2panda/test/ |
| D | test_tsc_ignore_list.txt | 1 es2panda/test/TypeScript/tests/cases/compiler/bom-utf16be.ts 2 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInType.ts 3 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInterfaceMembers.ts 4 es2panda/test/TypeScript/tests/cases/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.ts 5 es2panda/test/TypeScript/tests/cases/compiler/emitBundleWithShebang1.ts 6 es2panda/test/TypeScript/tests/cases/compiler/isLiteral1.ts 7 es2panda/test/TypeScript/tests/cases/compiler/isLiteral2.ts 8 es2panda/test/TypeScript/tests/cases/compiler/letAsIdentifier2.ts 9 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES5.ts 10 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES6.ts [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/ |
| D | CMakeLists.txt | 306 tests/analysis_test.cpp 307 tests/adjust_arefs_test.cpp 308 tests/alias_analysis_test.cpp 309 tests/aot_test.cpp 310 tests/balance_expressions_test.cpp 311 tests/basicblock_test.cpp 312 tests/bounds_analysis_test.cpp 313 tests/branch_elimination_test.cpp 314 tests/call_input_types_test.cpp 315 tests/catch_inputs_test.cpp [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | Util.cmake | 18 ${VERIFICATION_SOURCES_DIR}/util/tests/environment.cpp 19 ${VERIFICATION_SOURCES_DIR}/util/tests/lazy_test.cpp 20 ${VERIFICATION_SOURCES_DIR}/util/tests/addr_map_test.cpp 21 ${VERIFICATION_SOURCES_DIR}/util/tests/tagged_index_test.cpp 22 ${VERIFICATION_SOURCES_DIR}/util/tests/flags.cpp 23 ${VERIFICATION_SOURCES_DIR}/util/tests/obj_pool_test.cpp 24 ${VERIFICATION_SOURCES_DIR}/util/tests/index_test.cpp 25 ${VERIFICATION_SOURCES_DIR}/util/tests/optional_ref_test.cpp 26 ${VERIFICATION_SOURCES_DIR}/util/tests/saturated_enum_test.cpp 27 ${VERIFICATION_SOURCES_DIR}/util/tests/shifted_vector_test.cpp [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/ |
| D | CMakeLists.txt | 14 set(INTEROP_JS_TESTS_SOURCE_DIR ${PANDA_ETS_PLUGIN_SOURCE}/tests/interop_js/tests) 15 set(ETS_CONFIG "${PANDA_BINARY_ROOT}/tests/ets_interop_js/arktsconfig.json") 25 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/test_intrins/test_intrins.js\": {\"langu… 26 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/test_frontend/test_frontend_package.js\"… 27 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/number_subtypes/module.js\": {\"language… 28 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/strict_equality/strict_equality.js\": {\… 29 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/test_undefined/test_undefined.js\": {\"l… 30 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/class_composite/js/class_composite.js\":… 31 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/scenarios.js\": {\"l… 32 …" \"${PANDA_ROOT}/plugins/ets/tests/interop_js/tests/es_object/to_string/test_to_string_metho… [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/ |
| D | README.md | 6 Tests are being generated during building. 18 -t, --template FILE Path to template yaml file to generate tests (required) 21 -o, --output DIR Path to directory where tests will be generated (required) 28 ${PANDA_SRC_ROOT}/tests/cts-generator/generate-cts.rb \ 29 -t ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/template.yaml \ 30 -s ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/yaml-schema.json \ 34 This command will generate CTS tests using provided template file. Template is validated using sche… 43 …-t, --test-dir DIR Path to test directory to search tests recursively, or path to si… 50 --verify-tests Run verifier against positive tests (option for test checking) 53 …-a, --run-all Run all tests, ignore "runner-option: ignore" tag in test definit… [all …]
|
| D | generate-cts.rb | 34 def get_chunk(tests, chunk, chunks) argument 35 chunk_size = tests.length / chunks 36 if chunk_size > tests.length || chunk_size < 1 || chunk.negative? 41 last_idx = chunk >= chunks - 1 ? tests.length : (chunk + 1) * chunk_size 44 result.push(tests[i]) 56 opts.on('-t', '--template FILE', 'Path to template yaml file to generate tests (required)') 59 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)') 61 …opts.on('-f', '--file FILE', 'Generate tests from the specified yaml file only, for example: fmod2… 90 data['tests'] = get_chunk data['tests'], chunk, chunks 92 data['tests'] = [{"include" => "#{file}"}] if file [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | README.md | 6 Tests are being generated during building. 18 -t, --template FILE Path to template yaml file to generate tests (required) 21 -o, --output DIR Path to directory where tests will be generated (required) 28 ${PANDA_SRC_ROOT}/tests/cts-generator/generate-cts.rb \ 29 -t ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/template.yaml \ 30 -s ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/yaml-schema.json \ 34 This command will generate CTS tests using provided template file. Template is validated using sche… 43 …-t, --test-dir DIR Path to test directory to search tests recursively, or path to si… 50 --verify-tests Run verifier against positive tests (option for test checking) 53 …-a, --run-all Run all tests, ignore "runner-option: ignore" tag in test definit… [all …]
|
| D | generate-cts.rb | 34 def get_chunk(tests, chunk, chunks) argument 35 chunk_size = tests.length / chunks 36 if chunk_size > tests.length || chunk_size < 1 || chunk.negative? 41 last_idx = chunk >= chunks - 1 ? tests.length : (chunk + 1) * chunk_size 44 result.push(tests[i]) 56 opts.on('-t', '--template FILE', 'Path to template yaml file to generate tests (required)') 59 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)') 61 …opts.on('-f', '--file FILE', 'Generate tests from the specified yaml file only, for example: fmod2… 90 data['tests'] = get_chunk data['tests'], chunk, chunks 92 data['tests'] = [{"include" => "#{file}"}] if file [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/ |
| D | README.md | 1 # How to run ets-func-tests and cts tests locally 8 ## Run ets-func-tests in INT mode 10 $ $ARK_ROOT/tests/tests-u-runner/runner.sh --ets-func-tests --build-dir $BUILD --processes=`nproc` 13 ## Run ets-func-tests in JIT mode 15 $ $ARK_ROOT/tests/tests-u-runner/runner.sh --ets-func-tests --build-dir $BUILD --jit --ark-args='--… 18 ## Run cts tests 20 $ $ARK_ROOT/tests/tests-u-runner/runner.sh --ets-cts --build-dir $BUILD --processes=`nproc`
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | CMakeLists.txt | 514 list(APPEND STACK_WALKER_HOOK_BRIDGE_SOURCE tests/arch/arm/stack_walker_hook_bridge.S) 516 list(APPEND STACK_WALKER_HOOK_BRIDGE_SOURCE tests/arch/arm/stack_walker_hook_bridge.S) 518 list(APPEND STACK_WALKER_HOOK_BRIDGE_SOURCE tests/arch/aarch64/stack_walker_hook_bridge.S) 520 list(APPEND STACK_WALKER_HOOK_BRIDGE_SOURCE tests/arch/amd64/stack_walker_hook_bridge.S) 623 tests/interpreter/test_interpreter_impl.cpp 681 SET(INVOKE_HELPER tests/arch/arm/invokation_helper.S) 683 SET(INVOKE_HELPER tests/arch/arm/invokation_helper_hf.S) 685 SET(INVOKE_HELPER tests/arch/aarch64/invokation_helper.S) 687 #SET(INVOKE_HELPER tests/arch/x86/invokation_helper.S) 689 SET(INVOKE_HELPER tests/arch/amd64/invokation_helper.S) [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/ |
| D | readme.md | 10 It is possible to run tests either using script `runner.sh` or `main.py` directly. 23 $PROJECT/tests/tests-u-runner/runner.sh <test-suite-name> --build-dir $BUILD 37 python3 $PROJECT/tests/tests-u-runner/main.py <test-suite-name> --build-dir $BUILD 43 Tests folders: 46 - `--ets-func-tests` - tests for ArkTS: standard library and sts func tests 47 Tests folder: `plugins/ets/tests/ets_func_tests/` 62 - `--ets-es-checked` - `STS tests that cross validate results with ts` 63 `--ets-gc-stress` - `GC stress tests` 64 - `--ets-runtime` - `STS runtime tests` 65 Tests folder: `ets_frontend/ets2panda/test/runtime/ets` [all …]
|
| /arkcompiler/ets_frontend/testTs/ |
| D | test-case.patch | 212 tests/cases/conformance/jsdoc/extendsTag1.ts | 1 + 220 tests/cases/conformance/jsdoc/seeTag3.ts | 7 + 221 tests/cases/conformance/jsdoc/thisTag2.ts | 11 + 253 tests/cases/conformance/node/nodeModules1.ts | 321 ++++++++++++ 504 …create mode 100644 tests/cases/conformance/ambient/ambientDeclarationsPatterns/ambientDeclarations… 505 create mode 100644 tests/cases/conformance/ambient/ambientDeclarationsPatterns/declarations.d.ts 506 …create mode 100644 tests/cases/conformance/ambient/ambientShorthand_merging/ambientShorthand_mergi… 507 create mode 100644 tests/cases/conformance/ambient/ambientShorthand_merging/declarations1.d.ts 508 create mode 100644 tests/cases/conformance/ambient/ambientShorthand_merging/declarations2.d.ts 509 …create mode 100644 tests/cases/conformance/ambient/ambientShorthand_reExport/ambientShorthand_reEx… [all …]
|
| /arkcompiler/runtime_core/static_core/ |
| D | REVIEWERS | 53 static_core/tests/ @Prof1983 54 static_core/tests/cts-* @igelhaus 55 static_core/tests/irtoc-interpreter-* @igelhaus 71 static_core/tests/benchmarks/ @igelhaus 72 static_core/tests/checked/ @Prof1983 73 static_core/tests/panda/ @igelhaus 74 static_core/tests/verifier-tests/ @igelhaus 91 static_core/runtime/tests/tooling/ @ragnvald 109 static_core/plugins/ets/tests/checked/ @Prof1983 110 static_core/plugins/ets/tests/ets_es_checked/ @ivan-tyulyandin [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/ |
| D | CMakeLists.txt | 352 tests/list_test.cpp 353 tests/bit_helpers_test.cpp 354 tests/bit_memory_region_test.cpp 355 tests/bit_table_test.cpp 356 tests/bit_utils_test.cpp 357 tests/bit_vector_test.cpp 358 tests/string_helpers_test.cpp 359 tests/type_converter_tests.cpp 360 tests/logger_test.cpp 361 tests/dfx_test.cpp [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | CMakeLists.txt | 80 tests/bitops_bitwise_and_test.cpp 81 tests/bc_lowering_test.cpp 82 tests/codegen_test.cpp 83 tests/reg_acc_alloc_test.cpp 84 tests/reg_encoder_test.cpp 85 tests/runtime_adapter_test.cpp 86 tests/const_array_resolver_test.cpp 87 tests/bytecodeopt_peepholes_test.cpp 88 tests/check_resolver_test.cpp 89 tests/canonicalization_test.cpp [all …]
|
| /arkcompiler/runtime_core/tests/ |
| D | CMakeLists.txt | 16 add_custom_target(cts-assembly COMMENT "Running compliance tests for Panda Assembly") 17 add_custom_target(regression COMMENT "Running panda compiler regression tests") 18 add_custom_target(cts-aot-tests COMMENT "Running panda aot tests") 19 add_custom_target(cts-jit-tests COMMENT "Running panda jit-enforce tests") 20 add_custom_target(irtoc-interpreter-tests COMMENT "Running irtoc interpreter tests") 23 add_dependencies(tests irtoc-interpreter-tests) 24 add_dependencies(irtoc-interpreter-tests irtoc-opcode-suite) 25 # TODO(maksenov): disable tests subdirectory for Windows build to remove this condition 27 add_dependencies(tests cts-assembly regression) 30 add_custom_target(verifier-tests COMMENT "Regression tests for verifier") [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/generator/ |
| D | parser.rb | 29 # tests: Generator::TESTS 32 # Tests definitions 33 @tests = @data[Generator::TESTS] 42 updated_tests = @tests.flat_map do |test| 51 … "Schema validation error, please update template '#{file_name}' to match schema to generate tests" 56 included_data[Generator::TESTS].map do |single_test| 60 included_data[Generator::TESTS] 66 @tests = updated_tests 70 @tests.each do |raw_test| 86 LOG.info "Tests generation done in #{Time.now - start_time} sec" [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/generator/ |
| D | parser.rb | 29 # tests: Generator::TESTS 32 # Tests definitions 33 @tests = @data[Generator::TESTS] 42 updated_tests = @tests.flat_map do |test| 51 … "Schema validation error, please update template '#{file_name}' to match schema to generate tests" 56 included_data[Generator::TESTS].map do |single_test| 60 included_data[Generator::TESTS] 66 @tests = updated_tests 70 @tests.each do |raw_test| 86 LOG.info "Tests generation done in #{Time.now - start_time} sec" [all …]
|
| /arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/ |
| D | CMakeLists.txt | 16 project(irtoc-interpreter-tag-tests) 32 set(TAG_GENERATED_TESTS "${PROJECT_BINARY_DIR}/tests-pa/") 33 set(TAG_COMPILED_TESTS "${PROJECT_BINARY_DIR}/tests/") 38 add_custom_target(irtoc-interpreter-tests-tag-generator 39 COMMENT "Generate TAG tests files" 51 add_custom_target(irtoc-interpreter-tests-tag 52 COMMENT "Run generated TAG tests" 54 ${CMAKE_SOURCE_DIR}/tests/cts-generator/test-runner.rb 60 add_dependencies(irtoc-interpreter-tests-tag irtoc-interpreter-tests-tag-generator)
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | CMakeLists.txt | 69 tests/bitops_bitwise_and_test.cpp 70 tests/bc_lowering_test.cpp 71 tests/codegen_test.cpp 72 tests/reg_acc_alloc_test.cpp 73 tests/reg_encoder_test.cpp 74 tests/runtime_adapter_test.cpp 75 tests/const_array_resolver_test.cpp 76 tests/bytecodeopt_peepholes_test.cpp 77 tests/check_resolver_test.cpp 78 tests/canonicalization_test.cpp [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/astchecker/ |
| D | README.md | 5 Tests are defined according to the following grammar: 24 ### Reference-defined tests 25 Reference-defines tests consist of two parts: `match` pattern and `define` pattern. 32 …keys and values to be checked in AST node for Node tests and error message for Error and Warning t… 39 ### Inplace-defined tests 46 …keys and values to be checked in AST node for Node tests and error message for Error and Warning t… 50 ### Location-defined tests 51 This type of tests is similar to inplace-defined, as they don't have `define` pattern. 57 …keys and values to be checked in AST node for Node tests and error message for Error and Warning t… 80 Error tests check that `es2panda` fails with a specified error/raises a warning, at a specified loc…
|
| /arkcompiler/runtime_core/static_core/tests/ |
| D | CMakeLists.txt | 17 add_custom_target(cts-assembly COMMENT "Running compliance tests for Panda Assembly") 18 add_custom_target(regression COMMENT "Running panda compiler regression tests") 19 add_custom_target(irtoc-interpreter-tests COMMENT "Running irtoc interpreter tests") 21 add_custom_target(mm_tests COMMENT "Running memory management tests that use GC the most") 24 add_custom_target(cts-aot-tests COMMENT "Running panda aot tests") 25 add_custom_target(cts-jit-tests COMMENT "Running panda jit-enforce tests") 26 add_custom_target(cts-llvmaot-tests COMMENT "Running panda LLVM AOT tests") 28 add_dependencies(core_tests irtoc-interpreter-tests) 29 add_dependencies(irtoc-interpreter-tests irtoc-opcode-suite) 30 # TODO(maksenov): disable tests subdirectory for Windows build to remove this condition [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | shift.sts | 18 let tests: int[][] = [ 37 // runtime tests 38 for (let i: int = 0; i<tests.length; i++) 40 assert (tests[i][0] >> tests[i][1] == tests[i][2]) 43 // compile time tests 64 let tests: long[][] = [ 83 // runtime tests 84 for (let i: int = 0; i<tests.length; i++) 86 assert (tests[i][0] >> tests[i][1] == tests[i][2]) 89 // compile time tests
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/ |
| D | report.erb | 14 Tests Summary: 15 Total number of tests: <%= rep['tests']['total']%> 16 Tests accepted for coverage: <%= rep['tests']['counted_for_coverage']%> 17 Tests with not matching assertions: <%= rep['tests']['orphaned']%>
|
| /arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/templates/ |
| D | report.erb | 14 Tests Summary: 15 Total number of tests: <%= rep['tests']['total']%> 16 Tests accepted for coverage: <%= rep['tests']['counted_for_coverage']%> 17 Tests with not matching assertions: <%= rep['tests']['orphaned']%>
|