mirror_ubuntu-kernels/tools/testing/kunit/test_data
David Gow 5acaf6031f kunit: tool: Support skipped tests in kunit_tool
Add support for the SKIP directive to kunit_tool's TAP parser.

Skipped tests now show up as such in the printed summary. The number of
skipped tests is counted, and if all tests in a suite are skipped, the
suite is also marked as skipped. Otherwise, skipped tests do affect the
suite result.

Example output:
[00:22:34] ======== [SKIPPED] example_skip ========
[00:22:34] [SKIPPED] example_skip_test # SKIP this test should be skipped
[00:22:34] [SKIPPED] example_mark_skipped_test # SKIP this test should be skipped
[00:22:34] ============================================================
[00:22:34] Testing complete. 2 tests run. 0 failed. 0 crashed. 2 skipped.

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-06-25 11:31:03 -06: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-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-no_tests_run.log
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 kunit: kunit_parser: make parser more robust 2020-03-20 16:15:57 -06: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