Re: [PATCH] scanf: convert self-test to KUnit

From: Tamir Duberstein
Date: Fri Jan 31 2025 - 14:59:40 EST


On Fri, Jan 31, 2025 at 12:58 PM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> On Fri, Jan 31, 2025 at 12:50 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > On Fri, Jan 31, 2025 at 12:22:39PM -0500, Tamir Duberstein wrote:
> > > On Fri, Jan 31, 2025 at 12:11 PM Andy Shevchenko
> > > <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > > > On Fri, Jan 31, 2025 at 10:47:49AM -0500, Tamir Duberstein wrote:
>
> [...]
>
> > There are other options like CONFIG_TEST_PRINTF or so in defconfig files.
> > Why are they there to begin with? The answer to this Q will affect the change
> > you have done in this patch.
>
> CONFIG_TEST_PRINTF still exists; that test has not been converted to kunit.

Ah, sorry, I had misunderstood your question. These were there to
enable those tests; when the tests are ported to KUnit this is no
longer necessary because of the presence of CONFIG_KUNIT_ALL_TESTS.