summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-03-13 12:59:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-01 20:23:23 +0100
commit2ace3a0b1e2d8239c0b503ad6733bad1d46b769a (patch)
tree451eff1b8683a846ea5f15a7d81e209dcecdce49 /scripts
parent1f1d3d26477a9a43c060cc53b227d4c35bacc405 (diff)
downloadpoky-2ace3a0b1e2d8239c0b503ad6733bad1d46b769a.tar.gz
lib/resulttool: fix typo breaking resulttool log --ptest
ptestresult_get_log() looked for a key called 'ptestresuls.sections', which should be 'ptestresult.sections' (From OE-Core rev: 288609a3bb2760b5bb9d86e9c130b227f9bd5039) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7c8c9f7283e54bf8b1521fbaad7dceb66a8fcdbb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/resulttool/resultutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py
index 8917022d36..7666331ba2 100644
--- a/scripts/lib/resulttool/resultutils.py
+++ b/scripts/lib/resulttool/resultutils.py
@@ -142,7 +142,7 @@ def generic_get_log(sectionname, results, section):
142 return decode_log(ptest['log']) 142 return decode_log(ptest['log'])
143 143
144def ptestresult_get_log(results, section): 144def ptestresult_get_log(results, section):
145 return generic_get_log('ptestresuls.sections', results, section) 145 return generic_get_log('ptestresult.sections', results, section)
146 146
147def generic_get_rawlogs(sectname, results): 147def generic_get_rawlogs(sectname, results):
148 if sectname not in results: 148 if sectname not in results: