| /arkcompiler/runtime_core/static_core/tests/cts-generator/generator/ |
| D | command.rb | 60 test_dir = "#{@output}/#{@test_name}" 62 FileUtils.mkdir_p test_dir unless File.exist? test_dir 79 file_name = "#{test_dir}/#{@test_name}_#{sig_name}_#{idx1}_#{index}.pa" 80 …process_case_values file_name, current_case, index, sig_name, test_dir, template, bugids, ignore, … 88 file_name = "#{test_dir}/#{@test_name}_#{sig_name}_#{index}.pa" 90 … process_case_values file_name, current_case, index, sig_name, test_dir, template, [], false, [] 97 …def process_case_values(file_name, current_case, index, sig_name, test_dir, template, bugids, igno… argument 107 test_dir = "#{@output}/#{@test_name}" 108 FileUtils.mkdir_p test_dir unless File.exist? test_dir 111 File.open("#{test_dir}/#{@test_name}_#{file_name}.pa", 'w') do |test_file|
|
| /arkcompiler/runtime_core/tests/cts-generator/generator/ |
| D | command.rb | 60 test_dir = "#{@output}/#{@test_name}" 62 FileUtils.mkdir_p test_dir unless File.exist? test_dir 79 file_name = "#{test_dir}/#{@test_name}_#{sig_name}_#{idx1}_#{index}.pa" 80 …process_case_values file_name, current_case, index, sig_name, test_dir, template, bugids, ignore, … 88 file_name = "#{test_dir}/#{@test_name}_#{sig_name}_#{index}.pa" 90 … process_case_values file_name, current_case, index, sig_name, test_dir, template, [], false, [] 97 …def process_case_values(file_name, current_case, index, sig_name, test_dir, template, bugids, igno… argument 107 test_dir = "#{@output}/#{@test_name}" 108 FileUtils.mkdir_p test_dir unless File.exist? test_dir 111 File.open("#{test_dir}/#{@test_name}_#{file_name}.pa", 'w') do |test_file|
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/ |
| D | file_structure.py | 67 def add_subdir(self, test_dir: TestDirectory) -> None: 68 test_dir.parent = self 69 self.subdirs.append(test_dir) 99 def build_directory_tree(test_dir: TestDirectory) -> None: 101 for name in os.listdir(str(test_dir.path)): 102 if (test_dir.path / name).is_dir(): 104 parent=test_dir, path=(test_dir.path / name))) 108 test_dir.add_subdir(sub_dir) 112 def print_tree(test_dir: TestDirectory) -> None: 113 for sub_dir in test_dir.subdirs:
|
| /arkcompiler/ets_runtime/test/jsperftest/ |
| D | run_js_perf_test.sh | 205 local -r test_dir="js-perf-test" 206 JS_TEST_PATH="${JS_PERF_RESULT_PATH}/${test_dir}" 214 cp -r "${bench_repo_path}/${test_dir}"/* "${JS_TEST_PATH}" 218 if [[ -d "${bench_repo_path}/${test_dir}/${bench}" ]] 221 cp -r "${bench_repo_path}/${test_dir}/${bench}"/* "${JS_TEST_PATH}/${bench}" 222 elif [[ -f "${bench_repo_path}/${test_dir}/${bench}" ]] 225 cp "${bench_repo_path}/${test_dir}/${bench}" "${JS_TEST_PATH}/${bench}"
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenparser/ |
| D | runner_declgenparser.py | 65 for test_dir in self.TEST_DIRS: 66 dir_path = path.join(self.test_root, test_dir)
|
| /arkcompiler/ets_frontend/test262/ |
| D | run_test262.py | 508 test_dir = "" 510 test_dir = TEST_ES5_DIR 513 test_dir = TEST_ES2015_DIR 516 test_dir = TEST_INTL_DIR 519 test_dir = TEST_OTHERTESTS_DIR 522 test_dir = TEST_ES2021_DIR 525 test_dir = TEST_ES2022_DIR 528 test_dir = TEST_ES2023_DIR 531 test_dir = TEST_CI_DIR 536 path = os.path.join(test_dir, path)
|
| /arkcompiler/runtime_core/static_core/scripts/intrusive-testing/ |
| D | intrusive_instrumentator.py | 325 def get_declaration_set(self, test_dir): argument 330 abs_path = os.path.join(test_dir, l[i]) 524 test_dir = self.__get_test_dir(bindings_file) 525 test_id = self.__get_test_id(test_dir) 526 declaration_set = bindings_parser.get_declaration_set(test_dir) 547 def __get_test_id(self, test_dir): argument 548 return os.path.basename(test_dir).upper()
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/ |
| D | run_benchmark.py | 109 def run_c2p(test_dir, bin_dir, c2p_opts): argument 120 for dirpath, dirnames, filenames in os.walk(test_dir):
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/ |
| D | run_benchmark.py | 108 def run_c2p(test_dir, bin_dir, c2p_opts): argument 119 for dirpath, dirnames, filenames in os.walk(test_dir):
|
| /arkcompiler/ets_frontend/es2panda/test/ |
| D | runner.py | 1273 for test_dir in os.listdir(test_base_path): 1274 test_path = os.path.join(test_base_path, test_dir) 1481 for test_dir in test_root_dirs: 1482 src_dir = os.path.join(test_root, test_dir) 1483 target_dir = os.path.join(tmp_path, test_dir)
|
| /arkcompiler/ets_runtime/test/regresstest/ |
| D | run_regress_test.py | 406 elif self.args.test_dir is not None and len(self.args.test_dir) > 0: 407 … test_file_list = os.path.join(RegressTestConfig.REGRESS_TEST_CASE_DIR, self.args.test_dir)
|