Skip to content
Commit 0acc968f authored by Isabella Basso's avatar Isabella Basso Committed by Linus Torvalds
Browse files

test_hash.c: refactor into kunit

Use KUnit framework to make tests more easily integrable with CIs.  Even
though these tests are not yet properly written as unit tests this
change should help in debugging.

Also remove kernel messages (i.e.  through pr_info) as KUnit handles all
debugging output and let it handle module init and exit details.

Link: https://lkml.kernel.org/r/20211208183711.390454-6-isabbasso@riseup.net


Reviewed-by: default avatarDavid Gow <davidgow@google.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Tested-by: default avatarDavid Gow <davidgow@google.com>
Co-developed-by: default avatarAugusto Durães Camargo <augusto.duraes33@gmail.com>
Signed-off-by: default avatarAugusto Durães Camargo <augusto.duraes33@gmail.com>
Co-developed-by: default avatarEnzo Ferreira <ferreiraenzoa@gmail.com>
Signed-off-by: default avatarEnzo Ferreira <ferreiraenzoa@gmail.com>
Signed-off-by: default avatarIsabella Basso <isabbasso@riseup.net>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Daniel Latypov <dlatypov@google.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 88168bf3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment