diff options
author | Ross Burton <ross.burton@arm.com> | 2023-03-13 12:59:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-14 17:13:11 +0000 |
commit | 37ab2ecbb78e1973023c5e972ef090864e076e73 (patch) | |
tree | 671807a4ac0bed208dcb1f3693d2471d6a109d8d /scripts | |
parent | a683f6e45add9d574ad38703751363a3425822c3 (diff) | |
download | poky-37ab2ecbb78e1973023c5e972ef090864e076e73.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: 7c8c9f7283e54bf8b1521fbaad7dceb66a8fcdbb)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/resulttool/resultutils.py | 2 |
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 | ||
144 | def ptestresult_get_log(results, section): | 144 | def 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 | ||
147 | def generic_get_rawlogs(sectname, results): | 147 | def generic_get_rawlogs(sectname, results): |
148 | if sectname not in results: | 148 | if sectname not in results: |