linux-stable/tools/testing/kunit
Rae Moar 3c67a2c09b kunit: tool: print failed tests only
Add flag --failed to kunit.py to print only failed tests. This printing
is done after running is over.

This patch also adds the method print_test() that will also print your
Test object. Before, all printing of tests occurred during parsing. This
method could be useful in the future when converting to/from KTAP to this
pretty-print output.

Link: https://lore.kernel.org/r/20241113222406.1590372-2-rmoar@google.com
Signed-off-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-11-19 14:52:17 -07:00
..
configs linux_kselftest-kunit-fixes-6.9-rc2 2024-03-29 15:35:12 -07:00
qemu_configs RISC-V: drop SOC_VIRT for ARCH_VIRT 2024-04-10 11:37:50 +01:00
test_data kunit: tool: add test for parsing attributes 2023-12-18 13:21:15 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit_config.py kunit: tool: fix pre-existing mypy --strict errors and update run_checks.py 2023-03-17 12:28:30 -06:00
kunit_json.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
kunit_kernel.py kunit: tool: Build compile_commands.json 2024-09-12 09:52:36 -06:00
kunit_parser.py kunit: tool: print failed tests only 2024-11-19 14:52:17 -07:00
kunit_printer.py kunit: tool: Only print the summary 2024-11-19 14:52:17 -07:00
kunit_tool_test.py kunit: tool: print failed tests only 2024-11-19 14:52:17 -07:00
kunit.py kunit: tool: print failed tests only 2024-11-19 14:52:17 -07:00
mypy.ini kunit: tool: undo type subscripts for subprocess.Popen 2023-05-08 08:39:41 -06:00
qemu_config.py kunit: tool: Add support for overriding the QEMU serial port 2023-04-05 12:51:06 -06:00
run_checks.py kunit: tool: undo type subscripts for subprocess.Popen 2023-05-08 08:39:41 -06:00