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

2025-02-04 Thread Tamir Duberstein
On Tue, Feb 4, 2025 at 7:17 AM Petr Mladek wrote: > > On Tue 2025-02-04 05:27:23, Tamir Duberstein wrote: > > Oops, meant to address this in the last reply. > > > > On Tue, Feb 4, 2025 at 3:39 AM Petr Mladek wrote: > > > > > > Should this go via the printk tree, please? > > > Or is David going to

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

2025-02-04 Thread Petr Mladek
On Tue 2025-02-04 05:27:23, Tamir Duberstein wrote: > Oops, meant to address this in the last reply. > > On Tue, Feb 4, 2025 at 3:39 AM Petr Mladek wrote: > > > > Should this go via the printk tree, please? > > Or is David going to take it via the kunit tree? > > Going via printk would be my pre

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

2025-02-04 Thread Tamir Duberstein
Oops, meant to address this in the last reply. On Tue, Feb 4, 2025 at 3:39 AM Petr Mladek wrote: > > Should this go via the printk tree, please? > Or is David going to take it via the kunit tree? Going via printk would be my preference.

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

2025-02-04 Thread Tamir Duberstein
On Tue, Feb 4, 2025 at 3:39 AM Petr Mladek wrote: > > On Mon 2025-02-03 06:48:05, Tamir Duberstein wrote: [...] > > diff --git a/lib/Makefile b/lib/Makefile > > index d5cfc7afbbb8..a53cf6dd1505 100644 > > --- a/lib/Makefile > > +++ b/lib/Makefile > > @@ -85,7 +85,6 @@ obj-$(CONFIG_TEST_STATIC_KE

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

2025-02-04 Thread Petr Mladek
On Mon 2025-02-03 06:48:05, Tamir Duberstein wrote: > Convert the scanf() self-test to a KUnit test. > > In the interest of keeping the patch reasonably-sized this doesn't > refactor the tests into proper parameterized tests - it's all one big > test case. > > Signed-off-by: Tamir Duberstein > A