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

Layer testing #57

Open
Bravo555 opened this issue Feb 12, 2024 · 0 comments
Open

Layer testing #57

Bravo555 opened this issue Feb 12, 2024 · 0 comments
Assignees

Comments

@Bravo555
Copy link
Collaborator

Bravo555 commented Feb 12, 2024

In terms of testing the layer, we can highlight 2 parts:

  1. Checking the validity of the recipes. I think this can be done easily as bitbake --dry-run can be used to not build the recipe, but only check if it can be built. This should be run for every recipe that we have, and can easily be run on a Github Actions runner, because it doesn't actually build any packages.
  2. Runtime testing. If the thin-edge recipe can be built, then we should run the thin-edge.io integration test suite on a device running an image with thin-edge.io. This can be done on a qemu emulator, but we should make sure to also try to verify using an actual device, e.g. a raspberry pi. This can be tricky because AFAIK the test suite can require multiple devices to run some test cases, so we'll need to make sure if our understanding is correct, and if so, figure out a solution to this problem, in case we want to be able to run the test suite on demand on physical devices.

More on Yocto layer testing:

Child issues

@Bravo555 Bravo555 self-assigned this Feb 19, 2024
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

No branches or pull requests

1 participant