OpenCloudOS-Kernel/tools/testing/kunit/test_data
David Gow e56e482855 kunit: tool: Report an error if any test has no subtests
It's possible for a test to have a subtest header, but zero valid
subtests. We used to error on this if the test plan had no subtests
listed, but it's possible to have subtests without a test plan (indeed,
this is how parameterised tests work).

Tests with 0 subtests now have the result NO_TESTS, and will report an
error (which does not halt test execution, but is printed in a scary red
colour and is noted in the results summary).

Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-12-13 13:36:15 -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 kunit: show error if kunit results are not present 2020-06-26 14:29:10 -06:00
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-crash.log kunit: test: add test plan to KUnit TAP format 2020-10-09 14:37:49 -06: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: improve compatibility of kunit_parser with KTAP specification 2021-10-19 14:22:02 -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: Report an error if any test has no subtests 2021-12-13 13:36:15 -07: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_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