| Summary: | Support "make check" on build host via qemu wrappers | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Juro Bystricky <juro.bystricky> |
| Component: | core | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, ross.burton, stephano |
| Version: | 5.99 | ||
| Target Milestone: | Future | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Juro Bystricky
2018-05-01 14:10:49 UTC
This would be *** much *** easier to implement if we assumed/mandated binfmt. (for example https://wiki.debian.org/QemuUserEmulation). Besides, there is no point in re-inventing the wheel. In principle, a cross-compiled program should "just run" on the build host. Having lived through scratchbox and scratchbox2, having binfmt/qemu 'just work' is great for the trivial cases but causes a world of pain for the non-trivial ones. We do have a way to run binaries in qemu-user already (qemu.bbclass) so running a test suite at build time should be possible. |