Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D184CA1015 for ; Fri, 5 Sep 2025 08:20:15 +0000 (UTC) Subject: Performing Automated Runtime Testing - Exporting tests not described well To: docs@lists.yoctoproject.org From: "Barne Carstensen" X-Originating-Location: Esbjerg, South Denmark, DK (212.112.152.133) X-Originating-Platform: Windows Chrome 139 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 05 Sep 2025 01:20:10 -0700 Message-ID: Content-Type: multipart/alternative; boundary="pcDxziqPQAtJmjRlPTtj" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 05 Sep 2025 08:20:15 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/7485 --pcDxziqPQAtJmjRlPTtj Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I am relative new to Yocto and this is the first time I am reporting someth= ing. So please forgive me when I am not correctly following any policy/norm= . I was trying out the 4 Performing Automated Runtime Testing =E2=80=94 The Y= octo Project =C2=AE 5.2.999 documentation ( https://docs.yoctoproject.org/t= est-manual/runtime-testing.html#exporting-tests ) on Scarthgap and especial= ly the 4.3 Exporting Tests part. I could reproduce and follow everything fine until the last section " Run t= he tests outside of the build environment using the following:". Under it i= s written: $ cd tmp/testexport/core-image-sato $ ./runexported.py testdata.json But first the actual path should be tmp/ testimage /core-image-sato and als= o there is no script runexported.py at that location or anywhere in the gen= erated 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 wer= e not passing the target IP address) Maybe it is worth updating the commands in the document. And also if possib= le add more description to the oe-test script or at least link to some docu= mentation 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 --pcDxziqPQAtJmjRlPTtj Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello,
I am relative new to Yocto and this is the first time I am reporting s= omething. So please forgive me when I am not correctly following any policy= /norm.
I was trying out the 4 Performing Automate= d Runtime Testing — The Yocto Project ® 5.2.999 documentation= 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 Q= EMU (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 p= ossible 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 fi= gure things out as good as I could via the -h (help) flag. 

Best regards and thank you
 
Barne
--pcDxziqPQAtJmjRlPTtj--