Skip to content

0037 kyua: Add requirement resolver concept#40

Open
ihoro wants to merge 1 commit intomainfrom
0037
Open

0037 kyua: Add requirement resolver concept#40
ihoro wants to merge 1 commit intomainfrom
0037

Conversation

@ihoro
Copy link
Copy Markdown
Owner

@ihoro ihoro commented Dec 15, 2024

No description provided.

The general "requirement preparation handler" concept is introduced and
the very first handler named "kmods" is implemented.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant