]> git.baikalelectronics.ru Git - kernel.git/commit
lib/Kconfig.debug: change KUnit tests to default to KUNIT_ALL_TESTS
authorDaniel Latypov <dlatypov@google.com>
Tue, 5 Apr 2022 19:06:19 +0000 (12:06 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 12 May 2022 17:14:56 +0000 (11:14 -0600)
commit1386631d46ca7f8553ba26294769515eb9abc4c3
tree66d5e94af8f6252ef302904d092b308d37656385
parent8ba7efdf5679889a7c4b8b8e8a87735061357c9d
lib/Kconfig.debug: change KUnit tests to default to KUNIT_ALL_TESTS

This is in line with Documentation/dev-tools/kunit/style.rst.
Some of these tests predate that so they don't follow this convention.

With this and commit 27e27cf33129 ("kunit: arch/um/configs: Enable
KUNIT_ALL_TESTS by default"), kunit.py will now run these tests by
default. This hopefully makes it easier to run and maintain the tests.
If any of these were to start failing, people would notice much quicker.

Note: this commit doesn't update LINEAR_RANGES_TEST since that would
select its dependency (LINEAR_RANGES). We don't want KUNIT_ALL_TESTS
to enable anything other than test kconfigs.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Nico Pache <npache@redhat.com>
Acked-by: Nico Pache <npache@redhat.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/Kconfig.debug