From: Ross Burton Date: Mon, 13 Mar 2023 12:59:07 +0000 (+0000) Subject: lib/resulttool: fix typo breaking resulttool log --ptest X-Git-Tag: yocto-4.0.9~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213ed03f5a15be639a97dca6f5bbf810f7ac2eb5;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git lib/resulttool: fix typo breaking resulttool log --ptest ptestresult_get_log() looked for a key called 'ptestresuls.sections', which should be 'ptestresult.sections' Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 7c8c9f7283e54bf8b1521fbaad7dceb66a8fcdbb) Signed-off-by: Steve Sakoman --- diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py index 8917022d36e..7666331ba28 100644 --- a/scripts/lib/resulttool/resultutils.py +++ b/scripts/lib/resulttool/resultutils.py @@ -142,7 +142,7 @@ def generic_get_log(sectionname, results, section): return decode_log(ptest['log']) def ptestresult_get_log(results, section): - return generic_get_log('ptestresuls.sections', results, section) + return generic_get_log('ptestresult.sections', results, section) def generic_get_rawlogs(sectname, results): if sectname not in results: