Skip to content

mypytest: support alternatives and wildcards in ntfc.yaml requirements - #18

Open
raiden00pl wants to merge 1 commit into
apache:mainfrom
raiden00pl:kernel-mode-support-pr5
Open

mypytest: support alternatives and wildcards in ntfc.yaml requirements#18
raiden00pl wants to merge 1 commit into
apache:mainfrom
raiden00pl:kernel-mode-support-pr5

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

Requirements only supported exact [key, value] matching, which cannot express init configuration that differs between build modes: flat builds use CONFIG_INIT_ENTRYPOINT, kernel builds CONFIG_INIT_FILEPATH. Add, backward compatibly:

  • [key, "*"]: any truthy value satisfies
  • [[key, value], ...]: alternatives, any one satisfies

Also name the product, core and unmet requirement in the abort message.

Requirements only supported exact [key, value] matching, which cannot
express init configuration that differs between build modes: flat
builds use CONFIG_INIT_ENTRYPOINT, kernel builds CONFIG_INIT_FILEPATH.
Add, backward compatibly:

- [key, "*"]: any truthy value satisfies
- [[key, value], ...]: alternatives, any one satisfies

Also name the product, core and unmet requirement in the abort message.

Signed-off-by: raiden00pl <raiden00@railab.me>
Assisted-by: Claude Code
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