Hi Alexander, I had pretty much done all that is documented under 4.21 of this documentation. I can execute my test within the image using "ptest_runner" and I see it PASS/FAIL according to my test's content. So that's great, but the problem with this is still that I need to manually invoke qemu and initiate the ptest-runner script. I would like that to occurs from within the testimage using Image test as describe under https://wiki.yoctoproject.org/wiki/Image_tests. Yet it seems that to get image test support I need to write additional python test scripts which I feel is excessive and since those scripts are not store within the recipe folder, I feel those test are more MACHINE testing than package testing.
I would like to use 1 python test to execute and report the result of one or more ptest, in the same automatic way image test does. I cannot see or connect the dot between ptest and image test by reading and re-reading section 4.21. -- Yannick Koehler -----Message d'origine----- De : Alexander Kanavin [mailto:alexander.kana...@linux.intel.com] Envoyé : 24 novembre 2017 07:48 À : Koehler, Yannick <yannick.koeh...@hpe.com>; yocto@yoctoproject.org Objet : Re: [yocto] Executing ptest using image test ? On 11/24/2017 04:07 AM, Koehler, Yannick wrote: > I have some ptest which I would like to run quickly inside qemux86. I > see that the TEST_SUITES would allow me to do that, and that there is > a _ptest.py script which seems to interface with ptest-runner. Yet, I > am unclear how it connects together if it does. > > > If anyone know how this can be done, can you point me on some doc > related to this? Here: http://www.yoctoproject.org/docs/2.4/dev-manual/dev-manual.html#testing-packages-with-ptest Alex -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto