Skip to content

Commit

Permalink
kunit debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pelwell committed Feb 5, 2025
1 parent 2277d32 commit f9db184
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/testing/kunit/kunit_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,10 @@ def parse_run_tests(kernel_output: Iterable[str], printer: Printer) -> Test:
printer.print_with_timestamp(DIVIDER)
lines = extract_tap_lines(kernel_output)
test = Test()
stdout.print("==== Unfiltered kernel log ====")
for line in kernel_output:
stdout.print(line.rstrip())
stdout.print("==== End of kernel log ====")
if not lines:
test.name = '<missing>'
test.add_error(printer, 'Could not find any KTAP output. Did any KUnit tests run?')
Expand Down

0 comments on commit f9db184

Please sign in to comment.