linux/lib/kunit
Ivan Orlov a96a394577 kunit: string-stream-test: use KUNIT_DEFINE_ACTION_WRAPPER
Use KUNIT_DEFINE_ACTION_WRAPPER macro to define the 'kfree' and
'string_stream_destroy' wrappers for kunit_add_action.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Reviewed-by: Rae Moar <rmoar@google.com>
Acked-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-05-06 14:22:02 -06:00
..
.kunitconfig
assert.c kunit: Don't use a managed alloc in is_literal() 2023-09-18 10:45:30 -06:00
attributes.c kunit: add is_init test attribute 2023-12-18 13:21:15 -07:00
debugfs.c kunit: add ability to run tests after boot using debugfs 2023-12-18 13:25:49 -07:00
debugfs.h
device-impl.h kunit: device: Unregister the kunit_bus on shutdown 2024-02-06 17:07:37 -07:00
device.c kunit: unregister the device on error 2024-05-06 14:22:02 -06:00
executor_test.c kunit: test: Log the correct filter string in executor_test 2024-02-27 15:25:50 -07:00
executor.c kunit: Mark filter* params as rw 2024-02-27 14:46:34 -07:00
hooks-impl.h
hooks.c
Kconfig kunit: test: Move fault tests behind KUNIT_FAULT_TEST Kconfig option 2024-05-06 14:22:02 -06:00
kunit-example-test.c kunit: Add example of kunit_activate_static_stub() with pointer-to-function 2024-01-03 09:07:23 -07:00
kunit-test.c kunit: test: Move fault tests behind KUNIT_FAULT_TEST Kconfig option 2024-05-06 14:22:02 -06:00
Makefile kunit: Add APIs for managing devices 2023-12-18 13:28:08 -07:00
resource.c kunit: Add kunit_add_action() to defer a call until test exit 2023-05-25 08:52:55 -06:00
static_stub.c
string-stream-test.c kunit: string-stream-test: use KUNIT_DEFINE_ACTION_WRAPPER 2024-05-06 14:22:02 -06:00
string-stream.c kunit: string-stream: Allow ERR_PTR to be passed to string_stream_destroy() 2023-12-18 13:21:14 -07:00
string-stream.h kunit: string-stream: Decouple string_stream from kunit 2023-09-18 10:45:40 -06:00
test.c kunit: device: Unregister the kunit_bus on shutdown 2024-02-06 17:07:37 -07:00
try-catch-impl.h
try-catch.c kunit: Fix race condition in try-catch completion 2024-05-06 14:22:02 -06:00