Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-14 Thread Tamir Duberstein
On Fri, Feb 14, 2025 at 8:33 AM Petr Mladek wrote: > > On Wed 2025-02-12 11:54:52, Tamir Duberstein wrote: > > On Tue, Feb 11, 2025 at 12:26 PM Tamir Duberstein wrote: > > > > > > > Is it me who cut something or the above missing this information (total > > > > tests)? > > > > If the latter, how

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-14 Thread Petr Mladek
On Wed 2025-02-12 11:54:52, Tamir Duberstein wrote: > On Tue, Feb 11, 2025 at 12:26 PM Tamir Duberstein wrote: > > > > > Is it me who cut something or the above missing this information (total > > > tests)? > > > If the latter, how are we supposed to answer to the question if the > > > failed te

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-12 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 12:26 PM Tamir Duberstein wrote: > > > Is it me who cut something or the above missing this information (total > > tests)? > > If the latter, how are we supposed to answer to the question if the failed > > test > > is from new bunch of cases I hypothetically added or regr

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 12:17 PM Andy Shevchenko wrote: > > On Tue, Feb 11, 2025 at 10:57:11AM -0500, Tamir Duberstein wrote: > > On Tue, Feb 11, 2025 at 10:54 AM Andy Shevchenko > > wrote: > > > On Tue, Feb 11, 2025 at 10:47:03AM -0500, Tamir Duberstein wrote: > > > > On Tue, Feb 11, 2025 at 10:

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Andy Shevchenko
On Tue, Feb 11, 2025 at 10:57:11AM -0500, Tamir Duberstein wrote: > On Tue, Feb 11, 2025 at 10:54 AM Andy Shevchenko > wrote: > > On Tue, Feb 11, 2025 at 10:47:03AM -0500, Tamir Duberstein wrote: > > > On Tue, Feb 11, 2025 at 10:40 AM Andy Shevchenko > > > wrote: > > > > On Tue, Feb 11, 2025 at 1

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 10:54 AM Andy Shevchenko wrote: > > On Tue, Feb 11, 2025 at 10:47:03AM -0500, Tamir Duberstein wrote: > > On Tue, Feb 11, 2025 at 10:40 AM Andy Shevchenko > > wrote: > > > On Tue, Feb 11, 2025 at 10:13:36AM -0500, Tamir Duberstein wrote: > > ... > > > > > - Use original te

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Andy Shevchenko
On Tue, Feb 11, 2025 at 10:47:03AM -0500, Tamir Duberstein wrote: > On Tue, Feb 11, 2025 at 10:40 AM Andy Shevchenko > wrote: > > On Tue, Feb 11, 2025 at 10:13:36AM -0500, Tamir Duberstein wrote: ... > > > - Use original test assertions as KUNIT_*_EQ_MSG produces hard-to-parse > > > messages.

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
On Tue, Feb 11, 2025 at 10:40 AM Andy Shevchenko wrote: > > On Tue, Feb 11, 2025 at 10:13:36AM -0500, Tamir Duberstein wrote: > > This is one of just 3 remaining "Test Module" kselftests (the others > > being bitmap and printf), the rest having been converted to KUnit. In > > addition to the enclo

Re: [PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Andy Shevchenko
On Tue, Feb 11, 2025 at 10:13:36AM -0500, Tamir Duberstein wrote: > This is one of just 3 remaining "Test Module" kselftests (the others > being bitmap and printf), the rest having been converted to KUnit. In > addition to the enclosed patch, please consider this an RFC on the > removal of the "Tes

[PATCH v7 0/3] scanf: convert self-test to KUnit

2025-02-11 Thread Tamir Duberstein
This is one of just 3 remaining "Test Module" kselftests (the others being bitmap and printf), the rest having been converted to KUnit. In addition to the enclosed patch, please consider this an RFC on the removal of the "Test Module" kselftest machinery. I tested this using: $ tools/testing/kuni