Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_frontend/testTs/
Drun_testTs.py132 test_path = f'{root}/{file}'
133 if skip(test_path, True):
134 if test_path in IMPORT_TEST['import']:
135 run_test(test_path, ark_frontend_tool, True)
136 result = compare(test_path, True)
139 run_test(test_path, ark_frontend_tool)
140 result = compare(test_path)
146 test_path = f'{root}/{file}'
147 if skip(test_path):
148 if test_path in IMPORT_TEST['import']:
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
Dtemplate.py45 def __init__(self, test_path: Path, params: Dict[str, Any]) -> None:
46 self.test_path = str(test_path)
47 self.text = read_file(test_path)
67 filepath=self.test_path) from exc
69 raise UnknownTemplateException(filepath=self.test_path, exception=exc) from exc
110 filepath=self.test_path) from exc
Dbenchmark.py36 def __init__(self, test_path: Path, output: Path, test_full_name: str) -> None:
37 self.__input = test_path
39 self.__name = test_path.name
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
Ddetailed_report.py99 for test_path in test_paths:
100 if test_path not in self.result:
101 self.result[test_path] = Summary(test_path)
102 summary = self.result[test_path]
115 self.result[test_path] = summary
/arkcompiler/ets_frontend/es2panda/test/size_statistics/
Dsize_statistics.py120 def __init__(self, test_path, flags): argument
121 self.test_path = test_path
122 self.test_case_name = self.test_path.split('/')[-1]
127 return self.test_path < other.test_path
131 test_abc_path = os.path.join(os.path.dirname(self.test_path), test_abc_name)
135 cmd.append(self.test_path)
149 self.test_case_name = os.path.relpath(self.test_path, runner.test_root)
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py200 def __init__(self, test_path, flags): argument
201 self.path = test_path
247 def __init__(self, test_path, flags): argument
248 Test.__init__(self, test_path, flags)
377 def test_path(self, src): member in Runner
433 print(self.test_path(test.path))
470 def test_path(self, src): member in RegressionRunner
487 def test_path(self, src): member in AbcToAsmRunner
492 def __init__(self, test_path, flags, is_debug): argument
493 Test.__init__(self, test_path, flags)
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenparser/
Dtest_declgenparser.py28 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
29 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dpreparation_step.py214 def jit_transform_one_test(self, test_path: str) -> str:
215 metadata = get_metadata(Path(test_path))
220 return test_path
222 original = read_file(test_path)
225 return test_path
248 write_2_file(test_path, result)
249 return test_path
Dtest_ets.py34 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
35 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
38 self.metadata: TestMetadata = get_metadata(Path(test_path))
88 test_path = Path(self.path).parent / Path(file)
90 …test = self.__class__(self.test_env, str(test_path), self.flags, str(current_test_id.parent / Path…
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/
Drun_benchmark.py123 test_path = os.path.join(dirpath, name)
125test_path, fp.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
127 sizes.append(parse_c2p_output(test_path, stdout,
133 log("Could not process the class file (%s)." % test_path)
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
Drun_benchmark.py122 test_path = os.path.join(dirpath, name)
124test_path, fp.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
126 sizes.append(parse_c2p_output(test_path, stdout,
132 log("Could not process the class file (%s)." % test_path)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/parser/
Dtest_js_parser.py31 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
32 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/system/
Dtest_ets_system.py31 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
32 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/astchecker/
Dtest_astchecker.py33 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str,
35 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/
Dtest_js_hermes.py27 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
28 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/test262/
Dtest_js_test262.py28 …def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], with_optimizer: bool, test…
29 TestFileBased.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Dtest_base.py47 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str):
50 self.path = test_path
Dtest_file_based.py38 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
39 Test.__init__(self, test_env, test_path, flags, test_id)