Merge tag 'linux_kselftest-kunit-6.8-rc1' of...
Merge tag 'linux_kselftest-kunit-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest Pull KUnit updates from Shuah Khan: - a new feature that adds APIs for managing devices introducing a set of helper functions which allow devices (internally a struct kunit_device) to be created and managed by KUnit. These devices will be automatically unregistered on test exit. These helpers can either use a user-provided struct device_driver, or have one automatically created and managed by KUnit. In both cases, the device lives on a new kunit_bus. - changes to switch drm/tests to use kunit devices - several fixes and enhancements to attribute feature - changes to reorganize deferred action function introducing KUNIT_DEFINE_ACTION_WRAPPER - new feature adds ability to run tests after boot using debugfs - fixes and enhancements to string-stream-test: - parse ERR_PTR in string_stream_destroy() - unchecked dereference in bug fix in debugfs_print_results() - handling errors from alloc_string_stream() - NULL-dereference bug fix in kunit_init_suite() * tag 'linux_kselftest-kunit-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (27 commits) kunit: Fix some comments which were mistakenly kerneldoc kunit: Protect string comparisons against NULL kunit: Add example of kunit_activate_static_stub() with pointer-to-function kunit: Allow passing function pointer to kunit_activate_static_stub() kunit: Fix NULL-dereference in kunit_init_suite() if suite->log is NULL kunit: Reset test->priv after each param iteration kunit: Add example for using test->priv drm/tests: Switch to kunit devices ASoC: topology: Replace fake root_device with kunit_device in tests overflow: Replace fake root_device with kunit_device fortify: test: Use kunit_device kunit: Add APIs for managing devices Documentation: Add debugfs docs with run after boot kunit: add ability to run tests after boot using debugfs kunit: add is_init test attribute kunit: add example suite to test init suites kunit: add KUNIT_INIT_TABLE to init linker section kunit: move KUNIT_TABLE out of INIT_DATA kunit: tool: add test for parsing attributes kunit: tool: fix parsing of test attributes ...
No related branches found
No related tags found
Showing
- Documentation/dev-tools/kunit/api/resource.rst 9 additions, 0 deletionsDocumentation/dev-tools/kunit/api/resource.rst
- Documentation/dev-tools/kunit/run_manual.rst 47 additions, 4 deletionsDocumentation/dev-tools/kunit/run_manual.rst
- Documentation/dev-tools/kunit/running_tips.rst 7 additions, 0 deletionsDocumentation/dev-tools/kunit/running_tips.rst
- Documentation/dev-tools/kunit/usage.rst 57 additions, 3 deletionsDocumentation/dev-tools/kunit/usage.rst
- drivers/gpu/drm/tests/drm_kunit_helpers.c 3 additions, 75 deletionsdrivers/gpu/drm/tests/drm_kunit_helpers.c
- drivers/gpu/drm/vc4/tests/vc4_mock.c 3 additions, 6 deletionsdrivers/gpu/drm/vc4/tests/vc4_mock.c
- include/asm-generic/vmlinux.lds.h 9 additions, 2 deletionsinclude/asm-generic/vmlinux.lds.h
- include/kunit/device.h 80 additions, 0 deletionsinclude/kunit/device.h
- include/kunit/resource.h 21 additions, 0 deletionsinclude/kunit/resource.h
- include/kunit/static_stub.h 1 addition, 1 deletioninclude/kunit/static_stub.h
- include/kunit/test.h 21 additions, 12 deletionsinclude/kunit/test.h
- include/linux/module.h 2 additions, 0 deletionsinclude/linux/module.h
- kernel/module/main.c 3 additions, 0 deletionskernel/module/main.c
- lib/fortify_kunit.c 3 additions, 2 deletionslib/fortify_kunit.c
- lib/kunit/Makefile 2 additions, 1 deletionlib/kunit/Makefile
- lib/kunit/attributes.c 60 additions, 0 deletionslib/kunit/attributes.c
- lib/kunit/debugfs.c 96 additions, 6 deletionslib/kunit/debugfs.c
- lib/kunit/device-impl.h 17 additions, 0 deletionslib/kunit/device-impl.h
- lib/kunit/device.c 181 additions, 0 deletionslib/kunit/device.c
- lib/kunit/executor.c 62 additions, 6 deletionslib/kunit/executor.c
Loading
Please register or sign in to comment