Home
last modified time | relevance | path

Searched refs:test_path (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A 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
H A 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/
H A 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/testTs/
H A 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 i
[all...]
/arkcompiler/ets_frontend/es2panda/test/size_statistics/
H A Dsize_statistics.py120 def __init__(self, test_path, flags):
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/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
H A Dpreparation_step.py216 def jit_transform_one_test(self, test_path: str) -> str:
217 metadata = get_metadata(Path(test_path))
222 return test_path
224 original = read_file(test_path)
227 return test_path
250 write_2_file(test_path, result)
251 return test_path
H A 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))
94 test_path = Path(self.path).parent / Path(file)
96 test = self.__class__(self.test_env, str(test_path), self.flags, str(current_test_id.parent / Path(file)))
H A Dtest_sts_ts_subset.py34 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
35 TestETS.__init__(self, test_env, test_path, flags, test_id)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenparser/
H A 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/ets_frontend/es2panda/test/
H A Drunner.py203 def __init__(self, test_path, flags):
204 self.path = test_path
250 def __init__(self, test_path, flags):
251 Test.__init__(self, test_path, flags)
380 def test_path(self, src): member in Runner
436 print(self.test_path(test.path))
473 def test_path(self, src): member in RegressionRunner
490 def test_path(self, src): member in AbcToAsmRunner
495 def __init__(self, test_path, flags, is_debug):
496 Test.__init__(self, test_path, flag
584 def test_path(self, src): global() member in TSCRunner
607 def test_path(self, src): global() member in CompilerRunner
1098 def test_path(self, src): global() member in TransformerRunner
1114 def test_path(self, src): global() member in TransformerInTargetApiVersion10Runner
1267 def test_path(self, src): global() member in PatchRunner
1426 def test_path(self, src): global() member in Base64Runner
1441 def test_path(self, src): global() member in BytecodeRunner
1558 def test_path(self, src): global() member in AbcVersionControlRunner
1591 def test_path(self, src): global() member in VersionControlRunner
2434 def test_path(self, src): global() member in AopTransform
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
H A Drun_benchmark.py122 test_path = os.path.join(dirpath, name)
124 test_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/bytecode_optimizer/tests/benchmark/
H A Drun_benchmark.py127 for test_path in class_files:
129 test_path, fp.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
131 sizes.append(parse_c2p_output(test_path, stdout,
137 log("Could not process the class file (%s)." % test_path)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/astchecker/
H A 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/parser/
H A 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/
H A 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/hermes/
H A 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/
H A Dtest_js_test262.py28 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], with_optimizer: bool, 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/
H A Dtest_base.py48 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str):
51 self.path = test_path
H A Dtest_file_based.py42 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None:
43 Test.__init__(self, test_env, test_path, flags, test_id)

Completed in 10 milliseconds