Discussion:
[yocto] [qemu] How to use qemu in your testing cycle
Måns Zigher
2018-10-25 06:57:50 UTC
Permalink
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.

BR
MÃ¥ns Zigher
Khem Raj
2018-10-29 16:34:17 UTC
Permalink
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
https://lists.yoctoproject.org/listinfo/yocto
--

Loading...