Re: [Intel-wired-lan] [PATCH iwl-next 06/13] lib: packing: add KUnit tests adapted from selftests

2024-08-28 Thread Jacob Keller
On 8/28/2024 11:47 AM, Jeff Johnson wrote: > On 8/27/24 14:52, Jacob Keller wrote: >> Add 24 simple KUnit tests for the lib/packing.c pack() and unpack() APIs. >> >> The first 16 tests exercise all combinations of quirks with a simple magic >> number value on a 16-byte buffer. The remaining 8 te

Re: [Intel-wired-lan] [PATCH iwl-next 06/13] lib: packing: add KUnit tests adapted from selftests

2024-08-28 Thread Jeff Johnson
On 8/27/24 14:52, Jacob Keller wrote: > Add 24 simple KUnit tests for the lib/packing.c pack() and unpack() APIs. > > The first 16 tests exercise all combinations of quirks with a simple magic > number value on a 16-byte buffer. The remaining 8 tests cover > non-multiple-of-4 buffer sizes. > > Th

[Intel-wired-lan] [PATCH iwl-next 06/13] lib: packing: add KUnit tests adapted from selftests

2024-08-27 Thread Jacob Keller
Add 24 simple KUnit tests for the lib/packing.c pack() and unpack() APIs. The first 16 tests exercise all combinations of quirks with a simple magic number value on a 16-byte buffer. The remaining 8 tests cover non-multiple-of-4 buffer sizes. These tests were originally written by Vladimir as sim