diff options
Diffstat (limited to 'scripts/lib')
| -rw-r--r-- | scripts/lib/resulttool/store.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index 79c83dd8b7..e0951f0a8f 100644 --- a/scripts/lib/resulttool/store.py +++ b/scripts/lib/resulttool/store.py | |||
| @@ -24,6 +24,8 @@ def store(args, logger): | |||
| 24 | configvars = resultutils.extra_configvars.copy() | 24 | configvars = resultutils.extra_configvars.copy() |
| 25 | if args.executed_by: | 25 | if args.executed_by: |
| 26 | configvars['EXECUTED_BY'] = args.executed_by | 26 | configvars['EXECUTED_BY'] = args.executed_by |
| 27 | if args.extra_test_env: | ||
| 28 | configvars['EXTRA_TEST_ENV'] = args.extra_test_env | ||
| 27 | results = {} | 29 | results = {} |
| 28 | logger.info('Reading files from %s' % args.source) | 30 | logger.info('Reading files from %s' % args.source) |
| 29 | if resultutils.is_url(args.source) or os.path.isfile(args.source): | 31 | if resultutils.is_url(args.source) or os.path.isfile(args.source): |
| @@ -98,4 +100,5 @@ def register_commands(subparsers): | |||
| 98 | help='don\'t error if no results to store are found') | 100 | help='don\'t error if no results to store are found') |
| 99 | parser_build.add_argument('-x', '--executed-by', default='', | 101 | parser_build.add_argument('-x', '--executed-by', default='', |
| 100 | help='add executed-by configuration to each result file') | 102 | help='add executed-by configuration to each result file') |
| 101 | 103 | parser_build.add_argument('-t', '--extra-test-env', default='', | |
| 104 | help='add extra test environment data to each result file configuration') | ||
