[Intel-xe] ✗ CI.checkpatch: warning for kunit: Expose some built-in features to modules (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Mon Jul 31 14:15:32 UTC 2023
== Series Details ==
Series: kunit: Expose some built-in features to modules (rev3)
URL : https://patchwork.freedesktop.org/series/121534/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a902a6e1875e2e9bcf92dfb96290396c9e2796c2
Author: Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com>
Date: Mon Jul 31 16:10:25 2023 +0200
kunit: Allow kunit test modules to use test filtering
External tools, e.g., Intel GPU tools (IGT), support execution of
individual selftests provided by kernel modules. That could be also
applicable to kunit test modules if they provided test filtering. But
test filtering is now possible only when kunit code is built into the
kernel. Moreover, a filter can be specified only at boot time, then
reboot is required each time a different filter is needed.
Build the test filtering code also when kunit is configured as a module,
expose test filtering functions to other kunit source files, and use them
in kunit module notifier callback functions. Userspace can then reload
the kunit module with a value of the filter_glob parameter tuned to a
specific kunit test module every time it wants to limit the scope of tests
executed on that module load. Make the kunit.filter_glob parameter
visible in sysfs for user convenience.
v3: Fix CONFIG_GLOB, required by filtering fuctions, not selected when
building as a module.
v2: Fix new name of a structure moved to kunit namespace not updated
across all uses.
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com>
+ /mt/dim checkpatch d74e8f8407bc922b04ba50e8f4e888bedb31330a drm-intel
df233f946 kunit: Report the count of test suites in a module
443552161 kunit: Make 'list' action available to kunit test modules
a902a6e18 kunit: Allow kunit test modules to use test filtering
-:21: WARNING:TYPO_SPELLING: 'fuctions' may be misspelled - perhaps 'functions'?
#21:
v3: Fix CONFIG_GLOB, required by filtering fuctions, not selected when
^^^^^^^^
total: 0 errors, 1 warnings, 0 checks, 166 lines checked
More information about the Intel-xe
mailing list