]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: tool: rename all_test_uml.config, use it for --alltests
authorDaniel Latypov <dlatypov@google.com>
Fri, 2 Sep 2022 20:22:48 +0000 (13:22 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 30 Sep 2022 19:22:55 +0000 (13:22 -0600)
commitc99ac00c2450f2412456fc1444a52acfb48856fa
treedb2b61643908e4a23892319a33e2a17a01598367
parent61a298c31ad519b79a834fed8da610ad41879637
kunit: tool: rename all_test_uml.config, use it for --alltests

Context:
1. all_tests_uml.config used to be UML specific back when users to
   manually specify CONFIG_VIRTIO_UML=y to enable CONFIG_PCI=y.
2. --alltests used allyesconfig along with a curated list of options to
   disable. It's only ever worked for brief periods of time and has
   perennially been broken due to compile issues.

Now all_tests_uml.config should work across ~all architectures.
Let's instead use this to implement --alltests.

Note: if anyone was using all_tests_uml.config, this change breaks them.
I think that's unlikely since it was added in 5.19 and was a lot to
type: --kunitconfig=tools/testing/kunit/configs/all_tests_uml.config.
We could make it a symlink to the new name, but I don't think the
caution is warranted here.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/configs/all_tests.config [new file with mode: 0644]
tools/testing/kunit/configs/all_tests_uml.config [deleted file]
tools/testing/kunit/configs/broken_on_uml.config [deleted file]
tools/testing/kunit/kunit.py
tools/testing/kunit/kunit_kernel.py
tools/testing/kunit/kunit_tool_test.py