Re: [PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 11:06 AM Petr Mladek wrote: > > On Tue 2025-02-11 06:45:07, Tamir Duberstein wrote: > > On Tue, Feb 11, 2025 at 6:37 AM Petr Mladek wrote: > > > > > > On Mon 2025-02-10 13:13:48, Tamir Duberstein wrote: > > > > Convert the scanf() self-test to a KUnit test. > > > > > > > >

Re: [PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-11 Thread Petr Mladek
On Tue 2025-02-11 06:45:07, Tamir Duberstein wrote: > On Tue, Feb 11, 2025 at 6:37 AM Petr Mladek wrote: > > > > On Mon 2025-02-10 13:13:48, Tamir Duberstein wrote: > > > Convert the scanf() self-test to a KUnit test. > > > > > > In the interest of keeping the patch reasonably-sized this doesn't >

Re: [PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 7:15 AM Andy Shevchenko wrote: > > On Tue, Feb 11, 2025 at 06:45:07AM -0500, Tamir Duberstein wrote: > > On Tue, Feb 11, 2025 at 6:37 AM Petr Mladek wrote: > > > On Mon 2025-02-10 13:13:48, Tamir Duberstein wrote: > > > > > + kunit_printk(KERN_DEBUG, test, "\"%s\", \"%

Re: [PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-11 Thread Andy Shevchenko
On Tue, Feb 11, 2025 at 06:45:07AM -0500, Tamir Duberstein wrote: > On Tue, Feb 11, 2025 at 6:37 AM Petr Mladek wrote: > > On Mon 2025-02-10 13:13:48, Tamir Duberstein wrote: > > > + kunit_printk(KERN_DEBUG, test, "\"%s\", \"%s\" ->", str, fmt); \ > > > > The switch from pr_debug() to kunit_

Re: [PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 6:37 AM Petr Mladek wrote: > > On Mon 2025-02-10 13:13:48, 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

Re: [PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-11 Thread Petr Mladek
On Mon 2025-02-10 13:13:48, 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. > > Acked-by: Petr Mladek Please, remo

[PATCH v6 1/2] scanf: convert self-test to KUnit

2025-02-10 Thread Tamir Duberstein
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. Acked-by: Petr Mladek Reviewed-by: David Gow Signed-off-by: Tamir Duberstein --- MAINTAINERS