diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-04-18 21:57:17 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-25 00:05:20 +0100 |
commit | 3326a902dbccfa5f50afce132ded138b3253f7a8 (patch) | |
tree | 5178d6bfeccec5155ea6ac88807ed269392618cc /scripts/lib/resulttool/regression.py | |
parent | 0ab0dacc1afe3453f74b0bbc8b15229f93f1c61f (diff) | |
download | poky-3326a902dbccfa5f50afce132ded138b3253f7a8.tar.gz |
resulttool: Load results from URL
Adds support for resulttool to load JSON files directly from a http://
or https:// URL
(From OE-Core rev: 235bcf0c504e7ea253ccfb28d600898117c64c1f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/regression.py')
-rw-r--r-- | scripts/lib/resulttool/regression.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py index bdf531dedf..aecb9da9ce 100644 --- a/scripts/lib/resulttool/regression.py +++ b/scripts/lib/resulttool/regression.py | |||
@@ -161,9 +161,9 @@ def register_commands(subparsers): | |||
161 | group='analysis') | 161 | group='analysis') |
162 | parser_build.set_defaults(func=regression) | 162 | parser_build.set_defaults(func=regression) |
163 | parser_build.add_argument('base_result', | 163 | parser_build.add_argument('base_result', |
164 | help='base result file/directory for the comparison') | 164 | help='base result file/directory/URL for the comparison') |
165 | parser_build.add_argument('target_result', | 165 | parser_build.add_argument('target_result', |
166 | help='target result file/directory to compare with') | 166 | help='target result file/directory/URL to compare with') |
167 | parser_build.add_argument('-b', '--base-result-id', default='', | 167 | parser_build.add_argument('-b', '--base-result-id', default='', |
168 | help='(optional) filter the base results to this result ID') | 168 | help='(optional) filter the base results to this result ID') |
169 | parser_build.add_argument('-t', '--target-result-id', default='', | 169 | parser_build.add_argument('-t', '--target-result-id', default='', |