OSDN Git Service

kunit: tool: Add list of all valid test configs on UML
authorDavid Gow <davidgow@google.com>
Sat, 30 Apr 2022 04:56:40 +0000 (12:56 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 16 May 2022 19:23:33 +0000 (13:23 -0600)
commitb18d28475264f5a4f193f047df6618b78127211e
treedb0d548ac501de07fda0f7909a28ce2c2e246310
parent7466886b400b1904ce30fa311904849e314a2cf4
kunit: tool: Add list of all valid test configs on UML

It's often desirable (particularly in test automation) to run as many
tests as possible. This config enables all the tests which work as
builtins under UML at present, increasing the total tests run from 156
to 342 (not counting 36 'skipped' tests).

They can be run with:
./tools/testing/kunit/kunit.py run
--kunitconfig=./tools/testing/kunit/configs/all_tests_uml.config

This acts as an in-between point between the KUNIT_ALL_TESTS config
(which enables only tests whose dependencies are already enabled), and
the kunit_tool --alltests option, which tries to use allyesconfig,
taking a very long time to build and breaking very often.

Signed-off-by: David Gow <davidgow@google.com>
Tested-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/configs/all_tests_uml.config [new file with mode: 0644]