]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
testimage.bbclass: enable PTEST_RUNNER_TIMEOUT variable
authorTim Orling <ticotimo@gmail.com>
Fri, 27 Feb 2026 19:39:30 +0000 (11:39 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Mar 2026 18:02:33 +0000 (18:02 +0000)
QB_MEM works in recipe scope because testimage.bbclass reads it from the
current recipe datastore (d) at test time via the qemuboot.conf mechanism.
PTEST_RUNNER_TIMEOUT was only available through testdata.json (written
during image build via export2json). The testimage task reads td from the
potentially stale testdata.json, and PTEST_RUNNER_TIMEOUT was never
refreshed from the live recipe context.

[YOCTO #16163]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/testimage.bbclass

index 7a48ed6bfe35602de83444fe90763a6787e73c94..9902b8a56827c9de1be91046a1d2f1e4cc53ca92 100644 (file)
@@ -112,7 +112,9 @@ TESTIMAGELOCK:qemuall = ""
 
 TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/"
 
-TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME IMAGE_NAME"
+TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME IMAGE_NAME PTEST_RUNNER_TIMEOUT"
+
+PTEST_RUNNER_TIMEOUT ?= "450"
 
 testimage_dump_monitor () {
     query-status