summaryrefslogtreecommitdiffstats
path: root/scripts/resulttool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/resulttool')
-rwxr-xr-xscripts/resulttool8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/resulttool b/scripts/resulttool
index ebb5fc81c9..13430e192a 100755
--- a/scripts/resulttool
+++ b/scripts/resulttool
@@ -17,6 +17,11 @@
17# To perform regression file analysis, execute the below 17# To perform regression file analysis, execute the below
18# $ resulttool regression-file <base_result_file> <target_result_file> 18# $ resulttool regression-file <base_result_file> <target_result_file>
19# 19#
20# To execute manual test cases, execute the below
21# $ resulttool manualexecution <manualjsonfile>
22#
23# By default testresults.json for manualexecution store in <build>/tmp/log/manual/
24#
20# Copyright (c) 2019, Intel Corporation. 25# Copyright (c) 2019, Intel Corporation.
21# 26#
22# This program is free software; you can redistribute it and/or modify it 27# This program is free software; you can redistribute it and/or modify it
@@ -42,6 +47,7 @@ import resulttool.merge
42import resulttool.store 47import resulttool.store
43import resulttool.regression 48import resulttool.regression
44import resulttool.report 49import resulttool.report
50import resulttool.manualexecution
45logger = scriptutils.logger_create('resulttool') 51logger = scriptutils.logger_create('resulttool')
46 52
47def _validate_user_input_arguments(args): 53def _validate_user_input_arguments(args):
@@ -58,6 +64,8 @@ def main():
58 parser.add_argument('-q', '--quiet', help='print only errors', action='store_true') 64 parser.add_argument('-q', '--quiet', help='print only errors', action='store_true')
59 subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>') 65 subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>')
60 subparsers.required = True 66 subparsers.required = True
67 subparsers.add_subparser_group('manualexecution', 'manual testcases', 300)
68 resulttool.manualexecution.register_commands(subparsers)
61 subparsers.add_subparser_group('setup', 'setup', 200) 69 subparsers.add_subparser_group('setup', 'setup', 200)
62 resulttool.merge.register_commands(subparsers) 70 resulttool.merge.register_commands(subparsers)
63 resulttool.store.register_commands(subparsers) 71 resulttool.store.register_commands(subparsers)