-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twister/samples: more filter cleanup for samples and a twister filter improvement #77823
base: main
Are you sure you want to change the base?
Conversation
nashif
commented
Aug 30, 2024
- twister: add depends_on_one key
- boards: add mmu/mpu as supported feature
- samples: userspace: improve filtering
- samples: mpu: refine filter and documentation
- samples: mpu: rename folder, this is not a test
650104d
to
2d01248
Compare
84f7a43
to
71ad3c5
Compare
Support dependency on at least one of a list of compatible features, for example: mmu and mpu, one of them will do in a userspace test.. Signed-off-by: Anas Nashif <[email protected]>
Add mpu and mmu as supported features to aid with filtering and coverage in tests and samples. Signed-off-by: Anas Nashif <[email protected]>
Improve filtering and make it more selective to get the optimal coverage. Signed-off-by: Anas Nashif <[email protected]>
refine twister filters and documentation, point to a qemu platform in the samples instead of a hw platform that is not available. Signed-off-by: Anas Nashif <[email protected]>
Rename folder and a few test references in the docs. Signed-off-by: Anas Nashif <[email protected]>
refine smp filters and do not use filter keyword for efficiency. Signed-off-by: Anas Nashif <[email protected]>
Use depends_on and avoid filter in tests where possible. Remove excessive exclusion of platform and instead select platforms to be used for the test. Signed-off-by: Anas Nashif <[email protected]>
71ad3c5
to
ac87659
Compare
overhaul filtering and use platform_key where it makes sense. Some scenarios are limited now with platform_allow to provide enoug coverage for those sample and not consume resource without value in CI. Signed-off-by: Anas Nashif <[email protected]>
ac87659
to
722df5c
Compare
@@ -8,6 +8,8 @@ toolchain: | |||
- zephyr | |||
- cross-compile | |||
- arcmwdt | |||
supported: | |||
- mpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm wondering why this the only SNPS platform we add mpu tag to?
There are a lot of snps platforms which have mpu but now they will be filtered out in mpu-related tests.
I have the same concern as Evgeniy. I found "mpu" among "supported" on only a single platform in current zephyr. I guess this key was never used before, hence it is not present in board descriptions. Adding dependencies on this keyword can easily pass unnoticed. I can add it to all Nordic boards that have mpu but many others will most likely miss it. |
I made an RFC where we can discuss how to speed up CIs without artificially limiting scopes with platform_allow #78403 |