aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/kunit/test_data/test_is_test_passed-failure.log
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2020-08-04 13:47:44 -0700
committerShuah Khan <skhan@linuxfoundation.org>2020-10-09 14:37:49 -0600
commit45dcbb6f5ef78b0a9c1b91bea2f6f227642a65aa (patch)
tree3b1166347c5ae73bf8f4b7101651a1bb633474db /tools/testing/kunit/test_data/test_is_test_passed-failure.log
parentinit: main: add KUnit to kernel init (diff)
downloadwireguard-linux-45dcbb6f5ef78b0a9c1b91bea2f6f227642a65aa.tar.xz
wireguard-linux-45dcbb6f5ef78b0a9c1b91bea2f6f227642a65aa.zip
kunit: test: add test plan to KUnit TAP format
TAP 14 allows an optional test plan to be emitted before the start of the start of testing[1]; this is valuable because it makes it possible for a test harness to detect whether the number of tests run matches the number of tests expected to be run, ensuring that no tests silently failed. Link[1]: https://github.com/isaacs/testanything.github.io/blob/tap14/tap-version-14-specification.md#the-plan Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/kunit/test_data/test_is_test_passed-failure.log1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/kunit/test_data/test_is_test_passed-failure.log b/tools/testing/kunit/test_data/test_is_test_passed-failure.log
index 9e89d32d5667..7a416497e3be 100644
--- a/tools/testing/kunit/test_data/test_is_test_passed-failure.log
+++ b/tools/testing/kunit/test_data/test_is_test_passed-failure.log
@@ -1,4 +1,5 @@
TAP version 14
+1..2
# Subtest: sysctl_test
1..8
# sysctl_test_dointvec_null_tbl_data: sysctl_test_dointvec_null_tbl_data passed