Skip to content

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

Merged
xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:kernel-mode-support-pr5
Aug 31, 2026
Merged

mypytest: support alternatives and wildcards in ntfc.yaml requirements#18
xiaoxiang781216 merged 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
@raiden00pl

Copy link
Copy Markdown
Member Author

@xiaoxiang781216
xiaoxiang781216 merged commit b2ad84e into apache:main Aug 31, 2026
6 checks passed
@raiden00pl
raiden00pl deleted the kernel-mode-support-pr5 branch August 31, 2026 07:47
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.

2 participants