diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-04-18 21:57:17 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 00:31:49 +0100 |
commit | 35fa3e7e188d19a036b443505f21594f5279b24f (patch) | |
tree | 39494a48272e8f1270def179ea77c8370e55ea6c /scripts/lib/resulttool/report.py | |
parent | 47d3b81ad332a8b76b8720c51347c67729b14e01 (diff) | |
download | poky-35fa3e7e188d19a036b443505f21594f5279b24f.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: 3e48404afe27c93fa6ffbd8d66bc52dcd6216005)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/report.py')
-rw-r--r-- | scripts/lib/resulttool/report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/resulttool/report.py b/scripts/lib/resulttool/report.py index 90086209e3..8ae42728e4 100644 --- a/scripts/lib/resulttool/report.py +++ b/scripts/lib/resulttool/report.py | |||
@@ -143,7 +143,7 @@ def register_commands(subparsers): | |||
143 | group='analysis') | 143 | group='analysis') |
144 | parser_build.set_defaults(func=report) | 144 | parser_build.set_defaults(func=report) |
145 | parser_build.add_argument('source_dir', | 145 | parser_build.add_argument('source_dir', |
146 | help='source file/directory that contain the test result files to summarise') | 146 | help='source file/directory/URL that contain the test result files to summarise') |
147 | parser_build.add_argument('--branch', '-B', default='master', help="Branch to find commit in") | 147 | parser_build.add_argument('--branch', '-B', default='master', help="Branch to find commit in") |
148 | parser_build.add_argument('--commit', help="Revision to report") | 148 | parser_build.add_argument('--commit', help="Revision to report") |
149 | parser_build.add_argument('-t', '--tag', default='', | 149 | parser_build.add_argument('-t', '--tag', default='', |