Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: yocto-check-layer: set BSP machines to be tested
When running yocto-check-layer, we can see the following logs: INFO: test_machine_signatures (bsp.BSPCheckLayer) INFO: ... skipped 'No machines set with --machines.' INFO: No machines set with --machines. INFO: test_machine_world (bsp.BSPCheckLayer) INFO: ... skipped 'No machines set with --machines.' INFO: No machines set with --machines. Because we do not set --machines when running the script, it does not try to run the tests with each individual machine. When setting machines, yocto-check-layer will ensure that all signatures do not change when setting MACHINE for each our supported machine. So we can catch more errors. Note that this is also what would be done by Yocto if we wanted to run the compliance tests. E.g. from Yocto docs: bsp.test_machine_world: Verifies that bitbake world works regardless of which machine is selected. bsp.test_machine_signatures: Verifies that building for a particular machine affects only the signature of tasks specific to that machine. Signed-off-by: Nicolas Dechesne <[email protected]>
- Loading branch information