Re: [PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-12-02 Thread David Gow
On Wed, Dec 2, 2020 at 8:21 PM Andy Shevchenko wrote: > > On Wed, Dec 2, 2020 at 1:57 PM David Gow wrote: > > On Wed, Dec 2, 2020 at 6:06 PM Andy Shevchenko > > wrote: > > > On Wed, Dec 02, 2020 at 09:51:19AM +0530, Arpitha Raghunandan wrote: > > ... > > > > What I;m talking about is the

Re: [PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-12-02 Thread Andy Shevchenko
On Wed, Dec 2, 2020 at 1:57 PM David Gow wrote: > On Wed, Dec 2, 2020 at 6:06 PM Andy Shevchenko > wrote: > > On Wed, Dec 02, 2020 at 09:51:19AM +0530, Arpitha Raghunandan wrote: ... > > What I;m talking about is the output. How it will be implemented (using the > > same variable or

Re: [PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-12-02 Thread David Gow
On Wed, Dec 2, 2020 at 6:06 PM Andy Shevchenko wrote: > > On Wed, Dec 02, 2020 at 09:51:19AM +0530, Arpitha Raghunandan wrote: > > On 01/12/20 4:36 pm, Andy Shevchenko wrote: > > > On Tue, Dec 1, 2020 at 9:21 AM Arpitha Raghunandan <98.a...@gmail.com> > > > wrote: > > ... > > > >> I ran both the

Re: [PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-12-02 Thread Andy Shevchenko
On Wed, Dec 02, 2020 at 09:51:19AM +0530, Arpitha Raghunandan wrote: > On 01/12/20 4:36 pm, Andy Shevchenko wrote: > > On Tue, Dec 1, 2020 at 9:21 AM Arpitha Raghunandan <98.a...@gmail.com> > > wrote: ... > >> I ran both the original and converted tests as is to produce the > >> output for

Re: [PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-12-01 Thread Arpitha Raghunandan
On 01/12/20 4:36 pm, Andy Shevchenko wrote: > On Tue, Dec 1, 2020 at 9:21 AM Arpitha Raghunandan <98.a...@gmail.com> wrote: >> Convert test lib/test_hexdump.c to KUnit. More information about >> KUnit can be found at: >> https://www.kernel.org/doc/html/latest/dev-tools/kunit/index.html. >> KUnit

Re: [PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-12-01 Thread Andy Shevchenko
On Tue, Dec 1, 2020 at 9:21 AM Arpitha Raghunandan <98.a...@gmail.com> wrote: > Convert test lib/test_hexdump.c to KUnit. More information about > KUnit can be found at: > https://www.kernel.org/doc/html/latest/dev-tools/kunit/index.html. > KUnit provides a common framework for unit tests in the

[PATCH v3] lib: Convert test_hexdump.c to KUnit

2020-11-30 Thread Arpitha Raghunandan
Convert test lib/test_hexdump.c to KUnit. More information about KUnit can be found at: https://www.kernel.org/doc/html/latest/dev-tools/kunit/index.html. KUnit provides a common framework for unit tests in the kernel. KUnit and kselftest are standardizing around KTAP, converting this test to