| Index: mojo/tools/mojob.py
|
| diff --git a/mojo/tools/mojob.py b/mojo/tools/mojob.py
|
| index ee0c871de7e13154a3c6e89711bbf417b2adea61..b0f4fe0ad0203df5804be395603521d091c8f696 100755
|
| --- a/mojo/tools/mojob.py
|
| +++ b/mojo/tools/mojob.py
|
| @@ -185,7 +185,10 @@ def _run_tests(config, test_types):
|
| continue
|
|
|
| _logger.info('Starting: %s' % ' '.join(entry['command']))
|
| - exit_code = subprocess.call(entry['command'])
|
| + env = os.environ
|
| + if 'env' in entry and entry['env'] is not None:
|
| + env.update(entry['env'])
|
| + exit_code = subprocess.call(entry['command'], env=env)
|
| _logger.info('Completed: %s' % ' '.join(entry['command']))
|
| if exit_code:
|
| if not final_exit_code:
|
|
|