lkml.org 
[lkml]   [2024]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v4 0/2] kselftest/seccomp: Convert to KTAP output
    Date
    Currently the seccomp benchmark selftest produces non-standard output,
    meaning that while it makes a number of checks of the performance it
    observes this has to be parsed by humans. This means that automated
    systems running this suite of tests are almost certainly ignoring the
    results which isn't ideal for spotting problems. Let's rework things so
    that each check that the program does is reported as a test result to
    the framework.

    Signed-off-by: Mark Brown <broonie@kernel.org>
    ---
    Changes in v4:
    - Silence checkpatch noise.
    - Link to v3: https://lore.kernel.org/r/20240122-b4-kselftest-seccomp-benchmark-ktap-v3-0-785bff4c04fd@kernel.org

    Changes in v3:
    - Re-add signoff.
    - Link to v2: https://lore.kernel.org/r/20240122-b4-kselftest-seccomp-benchmark-ktap-v2-0-aed137eaea41@kernel.org

    Changes in v2:
    - Rebase onto v6.8-rc1.
    - Link to v1: https://lore.kernel.org/r/20231219-b4-kselftest-seccomp-benchmark-ktap-v1-0-f99e228631b0@kernel.org

    ---
    Mark Brown (2):
    kselftest/seccomp: Use kselftest output functions for benchmark
    kselftest/seccomp: Report each expectation we assert as a KTAP test

    .../testing/selftests/seccomp/seccomp_benchmark.c | 104 +++++++++++++--------
    1 file changed, 64 insertions(+), 40 deletions(-)
    ---
    base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
    change-id: 20231219-b4-kselftest-seccomp-benchmark-ktap-357603823708

    Best regards,
    --
    Mark Brown <broonie@kernel.org>


    \
     
     \ /
      Last update: 2024-05-27 14:32    [W:5.284 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site