Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 127) sorted by relevance

123456

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Doptions_general.py45 def __str__(self) -> str: argument
48 def to_dict(self) -> Dict[str, object]: argument
74 def generate_config(self) -> Optional[str]: argument
79 def processes(self) -> int: argument
83 def chunksize(self) -> int: argument
88 def build(self) -> Optional[str]: argument
92 def static_core_root(self) -> str: argument
100 def test_root(self) -> Optional[str]: argument
105 def list_root(self) -> Optional[str]: argument
110 def work_dir(self) -> Optional[str]: argument
[all …]
Doptions_test_lists.py34 def __str__(self) -> str: argument
37 def to_dict(self) -> Dict[str, object]: argument
58 def architecture(self) -> ArchitectureKind: argument
67 def sanitizer(self) -> SanitizerKind: argument
72 def explicit_file(self) -> Optional[str]: argument
77 def explicit_list(self) -> Optional[str]: argument
82 def filter(self) -> str: argument
87 def skip_test_lists(self) -> bool: argument
92 def update_excluded(self) -> bool: argument
97 def update_expected(self) -> bool: argument
[all …]
Doptions_es2panda.py31 def __str__(self) -> str: argument
34 def to_dict(self) -> Dict[str, object]: argument
44 def timeout(self) -> int: argument
49 def opt_level(self) -> int: argument
54 def custom_path(self) -> Optional[str]: argument
59 def arktsconfig(self) -> Optional[str]: argument
62 def get_command_line(self) -> str: argument
Doptions_groups.py31 def __str__(self) -> str: argument
34 def to_dict(self) -> Dict[str, object]: argument
44 def quantity(self) -> int: argument
49 def number(self) -> int: argument
52 def get_command_line(self) -> str: argument
61 def chapters(self) -> List[str]: argument
66 def chapters_file(self) -> str: argument
Doptions_coverage.py28 def __str__(self) -> str: argument
31 def to_dict(self) -> Dict[str, object]: argument
44 def use_llvm_cov(self) -> bool: argument
53 def llvm_profdata_out_path(self) -> Optional[str]: argument
62 def llvm_cov_html_out_path(self) -> Optional[str]: argument
65 def get_command_line(self) -> str: argument
Doptions_verifier.py30 def __str__(self) -> str: argument
33 def to_dict(self) -> Dict[str, object]: argument
42 def enable(self) -> bool: argument
47 def timeout(self) -> int: argument
52 def config(self) -> Optional[str]: argument
55 def get_command_line(self) -> str: argument
Doptions_ets.py30 def __str__(self) -> str: argument
33 def to_dict(self) -> Dict[str, Union[bool, int]]: argument
42 def force_generate(self) -> bool: argument
47 def compare_files(self) -> bool: argument
52 def compare_files_iterations(self) -> int: argument
55 def get_command_line(self) -> str: argument
Doptions_ark_aot.py30 def __str__(self) -> str: argument
33 def to_dict(self) -> Dict[str, object]: argument
42 def enable(self) -> bool: argument
47 def timeout(self) -> int: argument
52 def aot_args(self) -> List[str]: argument
55 def get_command_line(self) -> str: argument
Doptions_ark.py31 def __str__(self) -> str: argument
34 def to_dict(self) -> Dict[str, object]: argument
44 def timeout(self) -> int: argument
49 def interpreter_type(self) -> Optional[str]: argument
54 def ark_args(self) -> List[str]: argument
59 def get_command_line(self) -> str: argument
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/
Dchapters_test.py43 def test_ch1(self) -> None: argument
60 def test_ch2(self) -> None: argument
77 def test_ch3(self) -> None: argument
93 def test_ch4_1(self) -> None: argument
105 def test_ch4(self) -> None: argument
118 def test_ch5(self) -> None: argument
131 def test_ch6(self) -> None: argument
153 def test_ch7(self) -> None: argument
163 def test_ch8(self) -> None: argument
179 def test_ch9(self) -> None: argument
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dtest_ets.py36 def __init__(self, test_env: TestEnv, test_path: str, flags: List[str], test_id: str) -> None: argument
55 def is_negative_runtime(self) -> bool: argument
61 def is_negative_compile(self) -> bool: argument
66 def is_compile_only(self) -> bool: argument
71 def is_valid_test(self) -> bool: argument
75 def ark_extra_options(self) -> List[str]: argument
79 def ark_timeout(self) -> int: argument
83 def dependent_files(self) -> Sequence[TestETS]: argument
103 def runtime_args(self) -> List[str]: argument
109 def verifier_args(self) -> List[str]: argument
[all …]
Dets_test_suite.py45 …def __init__(self, config: Config, work_dir: WorkDir, suite_name: str, default_list_root: str) -> … argument
68 def name(self) -> str: argument
72 def test_root(self) -> Path: argument
76 def default_list_root_suite_name(self) -> Path: argument
80 def list_root(self) -> Path: argument
84 def set_preparation_steps(self) -> None: argument
87 def process(self, force_generate: bool) -> None: argument
108 def __init__(self, config: Config, work_dir: WorkDir, default_list_root: str): argument
114 def default_list_root_suite_name(self) -> Path: argument
117 def set_preparation_steps(self) -> None: argument
[all …]
Dets_test_dir.py27 def __init__(self, static_core_root: str, root: Optional[str] = None) -> None: argument
32 def root(self) -> Path: argument
36 def tests(self) -> Path: argument
40 def ets_templates(self) -> Path: argument
44 def ets_func_tests(self) -> Path: argument
48 def stdlib_templates(self) -> Path: argument
52 def gc_stress(self) -> Path: argument
Dpreparation_step.py45 def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config) -> None: argument
51 def test_source_path(self) -> Path: argument
55 def test_gen_path(self) -> Path: argument
59 def transform(self, force_generated: bool) -> List[str]: argument
64 def transform(self, force_generated: bool) -> List[str]: argument
68 def __str__(self) -> str: argument
73 def transform(self, force_generated: bool) -> List[str]: argument
93 def __str__(self) -> str: argument
98 def transform(self, force_generated: bool) -> List[str]: argument
103 def __str__(self) -> str: argument
[all …]
/arkcompiler/runtime_core/static_core/scripts/intrusive-testing/
Dintrusive_instrumentator.py44 def __init__(self): argument
73 def getSrcDir(self): argument
83 def getCladeFile(self): argument
93 def getTestSuiteDir(self): argument
106 def __init__(self, msg, *args): argument
110 def getErrMsg(self): argument
113 def __str__(self): argument
181 def __init__(self, file, index, cl=None, method=None, source=None): argument
190 def file(self): argument
194 def index(self): argument
[all …]
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py173 def __init__(self, test_path, flags): argument
182 def log_cmd(self, cmd): argument
185 def get_path_to_expected(self): argument
190 def run(self, runner): argument
223 def __init__(self, test_path, flags, test_id, with_optimizer): argument
237 def run(self, runner): argument
376 def __init__(self, test_path, flags): argument
380 def parse_options(self): argument
412 def run(self, runner): argument
434 def __init__(self, args, name): argument
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/
Dcoverage_dir.py27 def __init__(self, general: GeneralOptions, work_dir: Path): argument
32 def root(self) -> Path: argument
38 def html_report_dir(self) -> Path: argument
47 def profdata_dir(self) -> Path: argument
56 def coverage_work_dir(self) -> Path: argument
62 def info_file(self) -> Path: argument
66 def profdata_files_list_file(self) -> Path: argument
70 def profdata_merged_file(self) -> Path: argument
Dcoverage.py51 def _popen(self, **kwargs: Any) -> Any: argument
56 …def run_command(self, command: List[str], stdout: Union[TextIO, int] = subprocess.PIPE) -> Union[T… argument
68 def do_genhtml(self, args: List[str]) -> Union[TextIO, int]: argument
74 def llvm_prof_merge_command(self, args: List[str]) -> List[str]: argument
77 def llvm_cov_export_command(self, args: List[str]) -> List[str]: argument
82 def __init__(self, build_dir: str, work_dir: WorkDir) -> None: argument
88 def do_find(self, search_directory: Path, extension: str) -> List[Path]: argument
91 def get_uniq_profraw_profdata_file_paths(self) -> List[str]: argument
99 def llvm_profdata_merge(self, args: List[str]) -> None: argument
103 def merge_and_delete_prowraw_files(self, profraw_file: str, profdata_file: str) -> None: argument
[all …]
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_build.py29 def __init__(self, config_input, mail_obj): argument
45 def start(self): argument
57 def init(self): argument
106 def add_incremental_code(self, lines): argument
113 def revert_incremental_code(self): argument
116 def reset(self): argument
124 def clean_project(self): argument
131 def get_bytecode_size(self, is_debug): argument
149 def start_build(self, is_debug): argument
189 def get_millisecond(self, time_string): argument
[all …]
Dperformance_entry.py30 def __init__(self): argument
57 def create(self, prj_name): argument
60 def create_table(self, prj_name): argument
81 def add_msg(self, msg): argument
84 def add_failed_project(self, prj_name, build_mode, log_type): argument
92 def add_logs_file(self, filename, buffer): argument
95 def add_pic_data(self, prj_name, is_debug, data_list): argument
105 def create_msg_file(self): argument
119 def create_logs_file(self): argument
145 def create_pic(self): argument
[all …]
/arkcompiler/runtime_core/static_core/scripts/
Dgc_phase_time_stats.py59 def __init__(self): argument
63 def add_times(self, thread_time: float, cpu_time: float) -> None: argument
67 def get_count(self) -> int: argument
70 def get_thread_min(self) -> float: argument
73 def get_cpu_min(self) -> float: argument
76 def get_thread_max(self) -> float: argument
79 def get_cpu_max(self) -> float: argument
82 def get_thread_avg(self) -> float: argument
87 def get_cpu_avg(self) -> float: argument
92 def get_thread_median(self) -> float: argument
[all …]
/arkcompiler/ets_frontend/test262/
Drun_sunspider.py179 def __init__(self, args): argument
200 def proce_parameters(self): argument
244 def check_compile_mode(self, file): argument
262 def get_all_skip_force_gc_tests(self): argument
271 def gen_dependency_proto(self, dependency): argument
305 def gen_apart_abc(self, dependencies): argument
324 def gen_merged_abc(self, dependencies, file_name_pre, proto_bin_file): argument
365 def gen_abc(self): argument
471 def compile_aot(self): argument
518 def execute_aot(self): argument
[all …]
Drun_test262.py224 def __init__(self, args): argument
229 def prepare_test262_code(self): argument
248 def prepare_clean_data(self): argument
252 def patching_the_plugin(self): argument
261 def prepare_args_es51_es2021(self): argument
290 def prepare_out_dir(self): argument
308 def prepare_args_testdir(self): argument
329 def copyfile(self, file, all_skips): argument
357 def collect_tests(self): argument
374 def get_tests_from_file(self, file): argument
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/
Dwork_dir.py28 def __init__(self, general: GeneralOptions, default_work_dir: Path): argument
33 def root(self) -> Path: argument
39 def report(self) -> Path: argument
43 def gen(self) -> Path: argument
47 def intermediate(self) -> Path: argument
51 def coverage_dir(self) -> CoverageDir: argument
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Drunner_file_based.py70 …def __init__(self, runner_name: str, build_dir: str, config: Config, conf_kind: ConfigurationKind)… argument
77 def es2panda(self) -> str: argument
85 def runtime(self) -> str: argument
91 def verifier(self) -> str: argument
97 def ark_aot(self) -> str: argument
101 def ark_quick(self) -> str: argument
104 def __get_binary_path(self, binary: str) -> str: argument
116 …def __init__(self, config: Config, name: str, panda_binaries: Type[PandaBinaries] = PandaBinaries)… argument
187 def default_work_dir_root(self) -> Path: argument
191 def work_dir(self) -> WorkDir: argument
[all …]

123456