Lines Matching +full:start +full:- +full:line
4 # SPDX-License-Identifier: Apache-2.0
48 …+ "[{state}] {suite}.{test}, where GetParam() = 8-byte object <0B-00 00-00 00-9A 80-F7> (0 ms tota…
54 "[00:00:00.000,000] [0m<inf> label: [----------] Global test environment tear-down[0m"
59 for line in logs:
60 harness.handle(line)
64 ([""], "^START:(?P<foo>.*):END", [], None),
65 (["START:bar:STOP"], "^START:(?P<foo>.*):END", [], None),
66 (["START:bar:END"], "^START:(?P<foo>.*):END", [{"foo": "bar"}], None),
68 ["START:bar:baz:END"],
69 "^START:(?P<foo>.*):(?P<boo>.*):END",
74 ["START:bar:baz:END", "START:may:jun:END"],
75 "^START:(?P<foo>.*):(?P<boo>.*):END",
79 (["START:bar:END"], "^START:(?P<foo>.*):END", [{"foo": "bar"}], []),
80 (["START:bar:END"], "^START:(?P<foo>.*):END", [{"foo": "bar"}], ["boo"]),
82 ["START:bad_json:END"],
83 "^START:(?P<foo>.*):END",
88 "msg": "Expecting value: line 1 column 1 (char 0)",
96 (["START::END"], "^START:(?P<foo>.*):END", [{"foo": {}}], ["foo"]),
98 ['START: {"one":1, "two":2} :END'],
99 "^START:(?P<foo>.*):END",
104 ['START: {"one":1, "two":2} :STOP:oops:END'],
105 "^START:(?P<foo>.*):STOP:(?P<boo>.*):END",
110 ['START: {"one":1, "two":2} :STOP:{"oops":0}:END'],
111 "^START:(?P<foo>.*):STOP:(?P<boo>.*):END",
147 for line in lines:
148 harness.parse_record(line)
165 "line, fault, fail_on_fault, cap_cov, exp_stat, exp_id",
173 "GCOV START",
177 def test_harness_process_test(line, fault, fail_on_fault, cap_cov, exp_stat, exp_id): argument
187 harness.process_test(line)
248 line = "Test case passed"
251 handler.handle(line)
329 "type, num_patterns", TEST_DATA_3, ids=["one line", "multi line"]
368 ("one_line", True, TwisterStatus.PASS, "line", False, False),
369 ("multi_line", True, TwisterStatus.PASS, "line", False, False),
370 ("multi_line", False, TwisterStatus.PASS, "line", False, False),
371 ("invalid_type", False, TwisterStatus.NONE, "line", False, False),
379 "line_type, ordered_val, exp_state, line, exp_fault, exp_capture",
382 "one line",
383 "multi line ordered",
384 "multi line not ordered",
387 "GCOV START",
392 tmp_path, line_type, ordered_val, exp_state, line, exp_fault, exp_capture argument
431 line = line
432 console.handle(line)
440 console.handle(line)
479 hardware.runner_params = ["--runner-param1", "runner-param2"]
507 assert "--device-type=hardware" in command
509 assert "--device-serial-pty=serial_pty" in command
511 assert "--device-serial=serial" in command
512 assert "--device-serial-baud=115200" in command
513 assert "--runner=runner" in command
514 assert "--runner-params=--runner-param1" in command
515 assert "--runner-params=runner-param2" in command
516 assert "--west-flash-extra-args=args" in command
517 assert "--device-id=123" in command
518 assert "--device-product=product" in command
519 assert "--pre-script=pre_script" in command
520 assert "--post-flash-script=post_flash_script" in command
521 assert "--post-script=post_script" in command
522 assert "--twister-fixture=fixture1:option1" in command
523 assert "--twister-fixture=fixture2" in command
535 assert result_cmd == ["cmd", "-p", "twister_harness.plugin"]
611 "START - test_testcase",
622 "PASS - test_example in 0 seconds",
633 "SKIP - test_example in 0 seconds",
644 "FAIL - test_example in 0 seconds",
655 "START - test_testcase",
666 "START - test_testcase",
677 "START - test_testcase",
689 …"detailed_id, exp_out, line, exp_suite_name, exp_started_suites, exp_started_cases, exp_status, zt…
694 tmp_path, caplog, detailed_id, exp_out, line, argument
699 line = line
726 test_obj.handle(line)
734 if not "Running" in line and exp_out == "":