Re: [PATCH] drivers: base: test: Depend on OF instead of selecting it

From: Andy Shevchenko

Date: Mon Aug 17 2026 - 12:56:08 EST


On Mon, Aug 17, 2026 at 11:54:44AM +0000, Ricardo Ribalda wrote:
> Selecting OF instead of depending on it makes it impossible to
> disable OF when KUNIT_ALL_TESTS is selected.
>
> The purpose of KUNIT_ALL_TESTS is to test everything with satisfied
> dependencies, not to force dependencies.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Shouldn't we also handle this in tools/testing/kunit/configs/all_tests.config?
(maybe in the future).

--
With Best Regards,
Andy Shevchenko