Performing Automated Runtime Testing - Exporting tests not described well
Hello,
I am relative new to Yocto and this is the first time I am reporting something. So please forgive me when I am not correctly following any policy/norm.
I was trying out the 4 Performing Automated Runtime Testing — The Yocto Project ® 5.2.999 documentation ( https://docs.yoctoproject.org/test-manual/runtime-testing.html#exporting-tests ) on Scarthgap and especially the 4.3 Exporting Tests part.
I could reproduce and follow everything fine until the last section " Run the tests outside of the build environment using the following:". Under it is written:
$ cd tmp/testexport/core-image-sato $ ./runexported.py testdata.json
But first the actual path should be tmp/ testimage /core-image-sato and also there is no script runexported.py at that location or anywhere in the generated tarball. There is a oe-test script though and I was able to run all test via this command:
$ cd tmp/testimage/core-image-sato $ ./oe-test runtime
But also only after running the image under test manually with QEMU (the --target-type qemu flag did not worked for me, because the python scripts were not passing the target IP address)
Maybe it is worth updating the commands in the document. And also if possible add more description to the oe-test script or at least link to some documentation of it. I am not able to find anything about it and had to figure things out as good as I could via the -h (help) flag.
Best regards and thank you
Barne
Quoted 1 line · Barne Carstensen via lists.yoctoproject.org
Maybe it is worth updating the commands in the document. And also if possible add more description to the oe-test script or at least link to some documentation of it. I am not able to find anything about it and had to figure things out as good as I could via the -h (help) flag.
Yes, absolutely. Testexport is one of the more esoteric yocto features, and is thus prone to not being well described. Can you prepare a patch?
Alex