Home
last modified time | relevance | path

Searched refs:caplog (Results 1 – 17 of 17) sorted by relevance

/scripts/tests/twister_blackbox/
A Dtest_footprint.py109 assert self.FOOTPRINT_LOG in caplog.text
112 assert self.RAM_KEY in caplog.text
116 assert self.RAM_KEY not in caplog.text
235 assert self.FOOTPRINT_LOG in caplog.text
238 assert self.RAM_KEY in caplog.text
304 assert self.FOOTPRINT_LOG in caplog.text
307 assert self.RAM_KEY in caplog.text
380 assert self.RAM_KEY in caplog.text
388 second_logs = caplog.records
389 caplog.clear()
[all …]
A Dtest_addon.py162 def test_extra_args(self, caplog, out_path): argument
213 def test_allow_installed_plugin(self, caplog, out_path, allow_flags, do_install, argument
294 assert all([log in caplog.text for log in expected_logs])
A Dtest_coverage.py298 …def test_coverage_tool(self, capfd, caplog, test_path, test_platforms, out_path, cov_tool, expecte… argument
315 assert re.search(expected_content, caplog.text), f'{cov_tool} line not found'
/scripts/tests/twister/
A Dtest_log_helper.py28 def test_log_command(caplog, system, expected_log): argument
29 caplog.set_level(logging.DEBUG)
41 assert expected_log in caplog.text
A Dtest_environment.py136 caplog, argument
172 assert expected_error in ' '.join(caplog.text.split())
199 def test_parse_arguments_warnings(caplog): argument
209 ' pytest-twister-harness plugin.' in ' '.join(caplog.text.split())
407 caplog, argument
446 print(caplog.text)
494 caplog, argument
521 assert 'Running cmake script dummy/script/path' in caplog.text
523 assert expected_log in caplog.text
553 def test_get_toolchain(caplog, script_result, exit_value, expected_log): argument
[all …]
A Dtest_scl.py99 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
A Dtest_hardwaremap.py146 caplog, argument
379 caplog, argument
457 assert 'Scanning connected hardware...' in caplog.text
459 in caplog.text
A Dtest_handlers.py569 caplog, argument
613 assert 'Spawning BinaryHandler Thread for Dummy Name' in caplog.text
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
1477 messages = [record.msg for record in caplog.records]
[all …]
A Dtest_runner.py646 caplog, argument
767 caplog, argument
818 caplog, argument
1469 caplog, argument
1739 caplog, argument
2054 caplog, argument
2137 caplog.text
2480 caplog, argument
2661 def test_twisterrunner_show_brief(caplog): argument
2686 assert log in caplog.text
[all …]
A Dtest_harness.py351 def test_robot_run_robot_test(tmp_path, caplog, exp_out, returncode, expected_status): argument
402 assert exp_out in caplog.text
621 def test_pytest_run(tmp_path, caplog): argument
660 assert exp_out in caplog.text
777 tmp_path, caplog, detailed_id, exp_out, line, argument
817 assert exp_out in caplog.text
A Dtest_testinstance.py408 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
A Dtest_testplan.py551 caplog, argument
594 assert all([log in caplog.text for log in expected_logs])
963 caplog, argument
984 assert all([log in caplog.text for log in expected_logs])
1371 def test_testplan_load_from_file(caplog, device_testing, expected_tfilter): argument
1606 assert all([log in caplog.text for log in expected_logs])
1652 def test_testplan_verify_platforms_existence(caplog): argument
A Dtest_jobserver.py230 caplog, argument
270 assert all([log in caplog.text for log in expected_logs])
A Dtest_testsuite.py620 caplog, argument
667 [expected_log in " ".join(caplog.text.split()) \
/scripts/tests/build_helpers/
A Dtest_domains.py41 def test_from_file(caplog, f_contents, f_exists, exit_code, expected_logs): argument
62 assert all([log in caplog.text for log in expected_logs])
111 caplog, argument
172 caplog, argument
222 caplog, argument
249 assert all([log in caplog.text for log in expected_logs])
/scripts/pylib/pytest-twister-harness/tests/device/
A Dbinary_adapter_test.py119 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:
/scripts/dts/python-devicetree/tests/
A Dtest_edtlib.py43 def test_warnings(caplog): argument
57 assert caplog.record_tuples == [('devicetree.edtlib', WARNING, warning_message)

Completed in 851 milliseconds