mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-18 12:20:44 +00:00
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> |
||
|---|---|---|
| .. | ||
| test_config_printk_time.log | ||
| test_insufficient_memory.log | ||
| test_interrupted_tap_output.log | ||
| test_is_test_passed-all_passed.log | ||
| test_is_test_passed-crash.log | ||
| test_is_test_passed-failure.log | ||
| test_is_test_passed-no_tests_run.log | ||
| test_kernel_panic_interrupt.log | ||
| test_multiple_prefixes.log | ||
| test_output_isolated_correctly.log | ||
| test_output_with_prefix_isolated_correctly.log | ||
| test_pound_no_prefix.log | ||
| test_pound_sign.log | ||
| test_read_from_file.kconfig | ||
| test_skip_all_tests.log | ||
| test_skip_tests.log | ||