Hi Alex, I have sent the v4 version of patches with "do_check" functionality included in "rust.py" Also, verified for qemuarm64 target with fresh run.
Please let me know in case of any corrections. Regards, Vinay On Mon, May 24, 2021 at 10:42 AM Vinay Kumar via lists.openembedded.org <[email protected]> wrote: > > Hi Alex, > > I made changes as you suggested, getting expected results. > Verifying with a fresh run. Will send the final patch for review. > > Regards, > Vinay > > On Sat, May 22, 2021 at 10:04 PM Alexander Kanavin > <[email protected]> wrote: > > > > On Fri, 21 May 2021 at 15:29, Vinay Kumar <[email protected]> wrote: > >> > >> + # Set TEST_DEVICE_ADDR to image ip > >> + cmd = "export TEST_DEVICE_ADDR=%s:12345;" % > >> qemu.ip > >> + runCmd(cmd) > >> + > >> + # Test execution > >> + bitbake("{} -c check".format(recipe)) > >> + # Stop ssh background execution > >> + t_thread.stop() > >> > > > > TEST_DEVICE_ADDR set this way will not propagate into the task environment. > > The task itself consists only of: > > > > do_check () { > > > > rust_runx test --no-fail-fast --bless --target "${TARGET_SYS}" > > > summary.txt 2> /dev/null > > } > > > > so you can simply move that directly into selftest: > > > > runCmd("export TEST_DEVICE_ADDR=%s:12345 rust_runx test --no-fail-fast > > --bless --target "%s"" %(....)) > > > > Alex > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#152193): https://lists.openembedded.org/g/openembedded-core/message/152193 Mute This Topic: https://lists.openembedded.org/mt/82985543/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
