mirror-linux/tools/testing/kunit/test_data
Thomas Weißschuh 85aff81b0d kunit: tool: Don't overwrite test status based on subtest counts
If a subtest itself reports success, but the outer testcase fails,
the whole testcase should be reported as a failure. However the status
is recalculated based on the test counts, overwriting the outer test
result. Synthesize a failed test in this case to make sure the failure
is not swallowed.

Link: https://lore.kernel.org/r/20251230-kunit-nested-failure-v1-2-98cfbeb87823@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2026-01-05 15:36:08 -07:00
..
test_config_printk_time.log kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
test_insufficient_memory.log
test_interrupted_tap_output.log kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
test_is_test_passed-all_passed.log kunit: test: add test plan to KUnit TAP format 2020-10-09 14:37:49 -06:00
test_is_test_passed-all_passed_nested.log kunit: tool: improve compatibility of kunit_parser with KTAP specification 2021-10-19 14:22:02 -06:00
test_is_test_passed-failure-nested.log kunit: tool: Don't overwrite test status based on subtest counts 2026-01-05 15:36:08 -07:00
test_is_test_passed-failure.log kunit: test: add test plan to KUnit TAP format 2020-10-09 14:37:49 -06:00
test_is_test_passed-kselftest.log kunit: tool: Parse skipped tests from kselftest.h 2025-08-15 11:43:12 -06:00
test_is_test_passed-missing_plan.log kunit: tool: improve compatibility of kunit_parser with KTAP specification 2021-10-19 14:22:02 -06:00
test_is_test_passed-no_tests_no_plan.log kunit: tool: make parser stop overwriting status of suites w/ no_tests 2022-05-16 13:22:12 -06:00
test_is_test_passed-no_tests_run_no_header.log kunit: tool: Fix error messages for cases of no tests and wrong TAP header 2021-07-12 13:53:05 -06:00
test_is_test_passed-no_tests_run_with_header.log kunit: tool: Fix error messages for cases of no tests and wrong TAP header 2021-07-12 13:53:05 -06:00
test_kernel_panic_interrupt.log kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
test_multiple_prefixes.log kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
test_output_isolated_correctly.log
test_output_with_prefix_isolated_correctly.log
test_parse_attributes.log kunit: tool: add test for parsing attributes 2023-12-18 13:21:15 -07:00
test_parse_ktap_output.log kunit: tool: parse KTAP compliant test output 2022-12-12 14:13:47 -07:00
test_parse_subtest_header.log kunit: tool: parse KTAP compliant test output 2022-12-12 14:13:47 -07:00
test_pound_no_prefix.log kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
test_pound_sign.log kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
test_read_from_file.kconfig
test_skip_all_tests.log kunit: tool: Support skipped tests in kunit_tool 2021-06-25 11:31:03 -06:00
test_skip_tests.log kunit: tool: Support skipped tests in kunit_tool 2021-06-25 11:31:03 -06:00
test_strip_hyphen.log kunit: tool: improve compatibility of kunit_parser with KTAP specification 2021-10-19 14:22:02 -06:00