Skip to content
Commit d99ea675 authored by David Gow's avatar David Gow Committed by Shuah Khan
Browse files

kunit: test: Add example tests which are always skipped



Add two new tests to the example test suite, both of which are always
skipped. This is used as an example for how to write tests which are
skipped, and to demonstrate the difference between kunit_skip() and
kunit_mark_skipped().

Note that these tests are enabled by default, so a default run of KUnit
will have two skipped tests.

Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Reviewed-by: default avatarDaniel Latypov <dlatypov@google.com>
Reviewed-by: default avatarBrendan Higgins <brendanhiggins@google.com>
Reviewed-by: default avatarMarco Elver <elver@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 5acaf603
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment