Centos-kernel-stream-9/include/kunit
Nico Pache 7637319588 kunit: Print last test location on fault
commit 8bd5d74babc92558da67497918210e053515b2c4
Author: Mickaël Salaün <mic@digikod.net>
Date:   Mon Apr 8 09:46:24 2024 +0200

    kunit: Print last test location on fault

    This helps identify the location of test faults with opportunistic calls
    to _KUNIT_SAVE_LOC().  This can be useful while writing tests or
    debugging them.  It is possible to call KUNIT_SUCCESS() to explicit save
    last location.

    Cc: Brendan Higgins <brendanhiggins@google.com>
    Cc: David Gow <davidgow@google.com>
    Cc: Rae Moar <rmoar@google.com>
    Cc: Shuah Khan <skhan@linuxfoundation.org>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Mickaël Salaün <mic@digikod.net>
    Link: https://lore.kernel.org/r/20240408074625.65017-7-mic@digikod.net
    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

JIRA: https://issues.redhat.com/browse/RHEL-39303
Signed-off-by: Nico Pache <npache@redhat.com>
2024-07-31 20:32:29 -06:00
..
assert.h kunit: remove KUNIT_INIT_MEM_ASSERTION macro 2023-11-02 15:26:55 -06:00
attributes.h kunit: Add ability to filter attributes 2023-11-02 15:26:58 -06:00
device.h kunit: Add APIs for managing devices 2024-04-17 10:46:57 +10:00
resource.h kunit: Add a macro to wrap a deferred action function 2024-04-17 10:46:57 +10:00
skbuff.h kunit: add a convenience allocation wrapper for SKBs 2024-03-18 17:58:14 +01:00
static_stub.h kunit: Allow passing function pointer to kunit_activate_static_stub() 2024-07-31 20:32:28 -06:00
test-bug.h kunit: Expose 'static stub' API to redirect functions 2023-11-02 15:26:56 -06:00
test.h kunit: Print last test location on fault 2024-07-31 20:32:29 -06:00
try-catch.h kunit: Handle test faults 2024-07-31 20:32:29 -06:00
visibility.h kunit: add macro to allow conditionally exposing static symbols to tests 2023-05-08 10:41:49 -04:00