summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorAlexis Lothoré <alexis.lothore@bootlin.com>2024-02-26 10:19:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-27 11:35:43 +0000
commit3add7b301e38d11a47b55abfb583a648e6a4ac04 (patch)
treedbcd07bdf6a44df0d0468d944860395f25dd5bbb /meta/classes-recipe/rootfs_rpm.bbclass
parentfec128bd625dbbb5a239d6ff6999e1e4a41a5a9b (diff)
downloadpoky-3add7b301e38d11a47b55abfb583a648e6a4ac04.tar.gz
testimage: create a list of failed test post actions
testimage is able to detect whenever a test run leads to some tests failing, and execute some actions in this case. The only action currently defined in such case is to retrieve artifacts from the target under test, as listed in TESTIMAGE_FAILED_QA_ARTIFACTS In order to be able to add multiple actions, define a central function to gather all "post actions" to run whenever a test has failed (run_failed_tests_post_actions). This function contains a table listing all functions to be called whenever a test fails. Any function in this table will be provided with bitbake internal data dictionary ("d") and the current runtime testing context ("tc"). Isolate all this feature in a dedicated postactions.py file inherited by testimage. This patch does not bring any functional change. (From OE-Core rev: c01aa8df0613a103859b4431d3cc5056b2fef1b8) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/rootfs_rpm.bbclass')
0 files changed, 0 insertions, 0 deletions