| #
edb230c4 |
| 24-Aug-2026 |
Igor Ostapenko <igoro@FreeBSD.org> |
kyua: Add "prepare" command
This introduces the requirement preparation handler concept, with the first handler implemented to load the required kernel modules.
Running without arguments lists all
kyua: Add "prepare" command
This introduces the requirement preparation handler concept, with the first handler implemented to load the required kernel modules.
Running without arguments lists all available handlers:
kyua prepare
Currently there are only two handlers:
all: runs all available handlers kmods: loads the modules declared by required_kmods metadata
The dry run option lists the required modules without actual loading:
kyua prepare { --dry-run | -n } kmods
The "prepare" command traverses only the given tree of tests, i.e., the following invocation lists all required modules for the whole test suite:
kyua prepare -k /usr/tests/Kyuafile -n kmods
, while this one is limited to the pf tests only:
kyua prepare -k /usr/tests/sys/netpfil/pf/Kyuafile -n kmods
Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D48087
show more ...
|