From: Tim Orling Date: Fri, 27 Feb 2026 19:39:30 +0000 (-0800) Subject: testimage.bbclass: enable PTEST_RUNNER_TIMEOUT variable X-Git-Tag: uninative-5.1~164 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3e757f21403554e7064c5fa2b353080d14d2ce7;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git testimage.bbclass: enable PTEST_RUNNER_TIMEOUT variable 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index 7a48ed6bfe..9902b8a568 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass @@ -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