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

meson: fix dependencies of tests #130

Closed

Conversation

blmaier
Copy link
Contributor

@blmaier blmaier commented Mar 18, 2024

meson: fix dependencies of tests

If the tests are run without a full compile they will fail. For example
with the following.

> rm -rf build/
> meson setup build/
> meson test -C build/

This is because the tests rely on the devicetree tools and test
executables.

meson: split run-tests by type

Instead of running run-tests on all tests, split them down into the 9
separate run-tests test types. This provides better granularity of test
results from the Meson test harness.

If the tests are run without a full compile they will fail. For example
with the following.

> rm -rf build/
> meson setup build/
> meson test -C build/

This is because the tests rely on the devicetree tools and test
executables.

Signed-off-by: Brandon Maier <[email protected]>
Instead of running run-tests on all tests, split them down into the 9
separate run-tests test types. This provides better granularity of test
results from the Meson test harness.

Signed-off-by: Brandon Maier <[email protected]>
@blmaier blmaier changed the title Master meson fix dependencies of tests meson: fix dependencies of tests Mar 18, 2024
@dgibson
Copy link
Owner

dgibson commented Mar 19, 2024

Nice! Applied.

@dgibson dgibson closed this Mar 19, 2024
@blmaier blmaier deleted the master-meson-fix-dependencies-of-tests branch March 20, 2024 18:51
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