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

Split embedded tests into individual binaries #33360

Open
andy31415 opened this issue May 8, 2024 · 0 comments
Open

Split embedded tests into individual binaries #33360

andy31415 opened this issue May 8, 2024 · 0 comments
Labels
CI/CD improvements Improvements to our CI/CD pipelines

Comments

@andy31415
Copy link
Contributor

andy31415 commented May 8, 2024

As we add more and more tests, as single large test binary that can be flashed to devices is not practical anymore. We already are excluding some tests for "not fitting in flash" and even after that we make fixes like #33347 because insufficient flash on some parts.

More over, some tests need to override things - see #9630 where it describes how multiple definitions of ember functions end up in single binaries. Splitting tests would allow us to test using some overrides a bit better in the current setup (even though supporting injection properly would likely be better)

We should have each chip-test generate a separate flashable binary, the same like it is built on the host.

We likely should do this after the migration of all tests to pw_unit_test or make the pw_unit_test version build separate binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD improvements Improvements to our CI/CD pipelines
Projects
Status: No status
Development

No branches or pull requests

1 participant