Skip to content
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

Filter tests based on toolchain capabilities #12396

Closed
nashif opened this issue Jan 9, 2019 · 0 comments · Fixed by #12393
Closed

Filter tests based on toolchain capabilities #12396

nashif opened this issue Jan 9, 2019 · 0 comments · Fixed by #12393
Labels
area: Sanitycheck Sanitycheck has been renamed to Twister area: Toolchains Toolchains Enhancement Changes/Updates/Additions to existing features

Comments

@nashif
Copy link
Member

nashif commented Jan 9, 2019

Is your enhancement proposal related to a problem? Please describe.
There is no way to filter test based on toolchain capabilities.

Describe the solution you'd like
Provide a way to filter testcases based on the toolchain being used. For example, if a toolchain does not support newlib, tests that require newlib should not be built or tests. Until now we have been doing this based on the platforms which does not scale, the feature is missing in the toolchain, not the platform.

Describe alternatives you've considered

  • mark toolchains with their capabilities and filter based on cmake cache variables in sanitycheck (see proposed Filter tests based on CMake variables. #12393 )
  • add toolchain kconfig files (less preferred, we want to be able to support toolchain files at some point and adding a kconfig layer on top is not natural, kconfig is used for Zephyr configuration, not the toolchain.

Additional context
Add any other context or graphics (drag-and-drop an image) about the feature request here.

@nashif nashif added Enhancement Changes/Updates/Additions to existing features area: Toolchains Toolchains area: Sanitycheck Sanitycheck has been renamed to Twister labels Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sanitycheck Sanitycheck has been renamed to Twister area: Toolchains Toolchains Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant