/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_footprint.py | 58 def test_compare_report(self, caplog, out_path, old_ram_multiplier, expect_delta_log): argument 109 assert self.FOOTPRINT_LOG in caplog.text 112 assert self.RAM_KEY in caplog.text 113 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \ 116 assert self.RAM_KEY not in caplog.text 117 assert not re.search(self.DELTA_WARNING_COMPARE, caplog.text), \ 184 def test_footprint_threshold(self, caplog, out_path, old_ram_multiplier, argument 235 assert self.FOOTPRINT_LOG in caplog.text 238 assert self.RAM_KEY in caplog.text 239 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \ [all …]
|
D | test_addon.py | 161 def test_extra_args(self, caplog, out_path): argument 212 def test_allow_installed_plugin(self, caplog, out_path, allow_flags, do_install, argument 293 assert all([log in caplog.text for log in expected_logs])
|
D | test_coverage.py | 299 …def test_coverage_tool(self, capfd, caplog, test_path, test_platforms, out_path, cov_tool, expecte… argument 316 assert re.search(expected_content, caplog.text), f'{cov_tool} line not found'
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_log_helper.py | 28 def test_log_command(caplog, system, expected_log): argument 29 caplog.set_level(logging.DEBUG) 41 assert expected_log in caplog.text
|
D | test_environment.py | 152 caplog, argument 188 assert expected_error in ' '.join(caplog.text.split()) 215 def test_parse_arguments_warnings(caplog): argument 225 ' pytest-twister-harness plugin.' in ' '.join(caplog.text.split()) 423 caplog, argument 462 print(caplog.text) 465 assert all([expected_log in caplog.text for expected_log in expected_logs]) 510 caplog, argument 537 assert 'Running cmake script dummy/script/path' in caplog.text 539 assert expected_log in caplog.text [all …]
|
D | test_scl.py | 99 def test_pykwalify_import(caplog, fail_pykwalify, log_level, expected_logs): argument 119 assert all([log in caplog.text for log in expected_logs]) 138 def test_yaml_load(caplog, fail_parsing): argument 172 ' dummy context)' in caplog.text
|
D | test_hardwaremap.py | 146 caplog, argument 379 caplog, argument 457 assert 'Scanning connected hardware...' in caplog.text 459 in caplog.text
|
D | test_handlers.py | 569 caplog, argument 613 assert 'Spawning BinaryHandler Thread for Dummy Name' in caplog.text 975 def test_devicehandler_run_custom_script(caplog, mock_process, raise_timeout): argument 998 t in caplog.text.lower() for t in [str(script), 'timed out'] 1008 assert not any([r.levelname == 'ERROR' for r in caplog.records]) 1010 assert 'timed out' not in caplog.text.lower() 1011 assert 'custom script failure' in caplog.text.lower() 1027 caplog, argument 1052 assert 'dummy message' in caplog.text.lower() 1378 caplog, argument [all …]
|
D | test_runner.py | 657 caplog, argument 752 assert all([log in caplog.text for log in expected_logs]) 777 caplog, argument 805 assert all([log in caplog.text for log in expected_logs]) 828 caplog, argument 1479 caplog, argument 1550 assert all([log in caplog.text for log in expected_logs]) 1745 caplog, argument 1763 assert f'Cleaning up for Device Testing {build_dir}' in caplog.text 2060 caplog, argument [all …]
|
D | test_harness.py | 268 def test_robot_run_robot_test(tmp_path, caplog, exp_out, returncode, expected_status): argument 319 assert exp_out in caplog.text 538 def test_pytest_run(tmp_path, caplog): argument 577 assert exp_out in caplog.text 694 tmp_path, caplog, detailed_id, exp_out, line, argument 733 assert exp_out in caplog.text
|
D | test_testinstance.py | 408 def test_testinstance_get_case_or_create(caplog, testinstance): argument 420 assert 'Could not find a matching testcase for test_a.check_1.3a' in caplog.text 608 def test_testinstance_get_elf_file(caplog, tmp_path, testinstance, sysbuild, expected_error): argument 631 assert 'multiple ELF files detected: ' in caplog.text
|
D | test_jobserver.py | 230 caplog, argument 270 assert all([log in caplog.text for log in expected_logs])
|
D | test_testplan.py | 552 caplog, argument 587 assert all([log in caplog.text for log in expected_logs]) 944 caplog, argument 965 assert all([log in caplog.text for log in expected_logs]) 1501 def test_testplan_load_from_file(caplog, device_testing, expected_tfilter): argument 1722 assert all([log in caplog.text for log in expected_logs]) 1768 def test_testplan_verify_platforms_existence(caplog): argument
|
D | test_testsuite.py | 620 caplog, argument 667 [expected_log in " ".join(caplog.text.split()) \
|
/Zephyr-latest/scripts/tests/build_helpers/ |
D | test_domains.py | 39 def test_from_file(caplog, f_contents, f_exists, exit_code, expected_logs): argument 58 assert all([log in caplog.text for log in expected_logs]) 104 caplog, argument 158 caplog, argument 208 caplog, argument 235 assert all([log in caplog.text for log in expected_logs])
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/ |
D | binary_adapter_test.py | 119 caplog: pytest.LogCaptureFixture, launched_device: NativeSimulatorAdapter 123 caplog.set_level(logging.DEBUG) 126 assert warning_msg in caplog.text 127 for record in caplog.records: 135 assert warning_msg in caplog.text 136 for record in caplog.records:
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 43 def test_warnings(caplog): argument 57 assert caplog.record_tuples == [('devicetree.edtlib', WARNING, warning_message)
|