Lines Matching +full:settle +full:- +full:time

3 # Copyright (c) 2018-2024 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
17 import time
74 completed = done - filtered_static
77 pass rate = passed / (total - filtered_configs)
78 case pass rate = passed_cases / (cases - filtered_cases - skipped_cases)
103 # static filtered at yaml parsing time
147 length = int(log10(-n))+2
151 selected_cases = self.cases - self.filtered_cases
152 selected_configs = self.done - self.filtered_static - self.filtered_runtime
507 config_re = re.compile('(CONFIG_[A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
508 dt_re = re.compile('([A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
552 start_time = time.time()
562 duration = time.time() - start_time
634 gen_edt_args = "--edtlib-Werror"
645 f'-B{self.build_dir}',
646 f'-DTC_RUNID={self.instance.run_id}',
647 f'-DTC_NAME={self.instance.testsuite.name}',
648 f'-D{warning_command}={warnings_as_errors}',
649 f'-DEXTRA_GEN_EDT_ARGS={gen_edt_args}',
650 f'-G{self.env.generator}',
651 f'-DPython3_EXECUTABLE={pathlib.Path(sys.executable).as_posix()}'
656 '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON',
657 '-DCONFIG_ASSERT=y',
658 '-DCONFIG_COVERAGE=y'
667 f'-DMODULES={",".join(filter_stages)}',
668 f'-P{canonical_zephyr_base}/cmake/package_helper.cmake',
674 f'-S{canonical_zephyr_base}/share/sysbuild',
675 f'-DAPP_DIR={self.source_dir}'
679 f'-S{self.source_dir}'
685 cmake_opts = [f'-DBOARD={self.platform.name}']
690 '-DSNIPPET={}'.format(';'.join(self.instance.testsuite.required_snippets))
712 start_time = time.time()
719 duration = time.time() - start_time
761 self.log = "config-twister.log"
826 # so --west-flash must be passed.
876 def trace(self) -> bool:
882 logger.info(f"{filename:-^100}")
899 logger.info(f"{filename:-^100}")
1264 # below ones are needed to make --test-only work as well
1306 def _get_artifact_allow_list_for_domain(self, domain: str) -> list[str]:
1320 def _get_binaries(self) -> list[str]:
1334 # Get binaries for a single-domain build
1336 # Get binaries in the case of a multiple-domain build
1351 def _get_binaries_from_runners(self, domain='') -> list[str]:
1355 multiple-domain builds by passing in one domain at a time.
1448 increment_value = -1 if decrement else 1
1487 total_to_do = results.total - results.filtered_static
1547 f"{results.done - results.filtered_static:>{total_tests_width}}/{total_to_do}"
1565 (float(results.done - results.filtered_static) / total_to_do) * 100
1568 unfiltered = results.done - results.filtered_static
1598 f"INFO - Total complete: {complete_section}"
1614 args_expanded = ["-D{}".format(a.replace('"', '\"')) for a in config_options]
1638 args_expanded.extend(["-D{}".format(a.replace('"', '\"')) for a in cmake_extra_args])
1639 args_expanded.extend(["-D{}".format(a.replace('"', '')) for a in args])
1677 build_result = self.run_build(['--build', self.build_dir])
1728 build_result = self.run_build(['--build', self.build_dir, "--target", "footprint"])
1763 def __init__(self, instances, suites, env=None) -> None:
1815 time.sleep(self.options.retry_interval) # waiting for the system to settle down
1816 self.results.done = self.results.total - self.results.failed
1820 self.results.done -= self.results.error
1843 retries = retries - 1
1869 f" {self.results.filtered_configs - self.results.filtered_static} at runtime)."