lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] siphash: Convert selftest to KUnit
    On Tue, Oct 18, 2022 at 6:05 PM Kees Cook <keescook@chromium.org> wrote:
    >
    > Convert the siphash self-test to KUnit so it will be included in "all
    > KUnit tests" coverage, and can be run individually still:
    >
    > $ ./tools/testing/kunit/kunit.py run siphash
    > ...
    > [02:58:45] Starting KUnit Kernel (1/1)...
    > [02:58:45] ============================================================
    > [02:58:45] =================== siphash (1 subtest) ====================
    > [02:58:45] [PASSED] siphash_test
    > [02:58:45] ===================== [PASSED] siphash =====================
    > [02:58:45] ============================================================
    > [02:58:45] Testing complete. Ran 1 tests: passed: 1
    > [02:58:45] Elapsed time: 21.421s total, 4.306s configuring, 16.947s building, 0.148s running
    >
    > Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
    > Cc: David Gow <davidgow@google.com>
    > Signed-off-by: Kees Cook <keescook@chromium.org>
    > ---

    Works fine here, and looks good from a KUnit point-of-view.

    Tested-by: David Gow <davidgow@google.com>

    Cheers,
    -- David

    \
     
     \ /
      Last update: 2022-10-19 06:06    [W:8.645 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site