[yocto] [qemu] How to use qemu in your testing cycle

Khem Raj raj.khem at gmail.com
Mon Oct 29 09:34:17 PDT 2018


On Wed, Oct 24, 2018 at 11:58 PM Måns Zigher <mans.zigher at gmail.com> wrote:
>
> Hi,
>
> I am trying to wrap my head around how to incorporate qemu in our test/development cycle. I am currently building machine genericx86-64 machine producing a SDK and a number of files. One of them are the qemuboot.conf file but it have some path that is a relative path to the work directory. I would like to be able to supply our application developer a way to start a qemu instance and test out our application without having them using bitbake. I assume this should be possible but not sure exactly how to accomplish this? Any input would be appreciated so I can get started.

start building your image for MACHINE = "qemux86-64"
and run bitbake -ctestimage <image>

you might then also want to start adding ptest to image features
so you can then see unit tests running for the components in your
image, this all can be fairly automated as well

>
> BR
> Måns Zigher
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list