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-25 23:00:14 +0000 |
commit | b2492192268861b5ec4fd5f728c74569b58ab237 (patch) | |
tree | dc7570e3b80e0053da4a729fca67cba4689588ad | |
parent | 69973e7cb0a94a4bb0a962329510785823300fde (diff) | |
download | poky-b2492192268861b5ec4fd5f728c74569b58ab237.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: dc5097e6692ff123a48d9af749f4e66b58056b04)
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>
-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: |