diff options
author | xudan <xudan16@huawei.com> | 2019-08-21 06:02:03 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-08-27 23:44:31 -0400 |
commit | d15825b04fde0b40df1840ae2ec2fab2ac961471 (patch) | |
tree | 53a4a343f560175e7a7b3760d268daf2394f6064 /dovetail/run.py | |
parent | 14a9a43bf675469486a6991976bef24f3540217b (diff) |
Add validation disabled/enabled to results.json
Change-Id: I918f85c5ac89cf2745efa8513946a2b5ab8638b1
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/run.py')
-rwxr-xr-x | dovetail/run.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dovetail/run.py b/dovetail/run.py index 0ea3cb11..193efbc4 100755 --- a/dovetail/run.py +++ b/dovetail/run.py @@ -262,6 +262,8 @@ def main(*args, **kwargs): clean_results_dir() os.environ['DEBUG'] = 'true' if kwargs['debug'] else 'false' os.environ['OPNFV_CI'] = 'true' if kwargs['opnfv_ci'] else 'false' + os.environ['validation'] = 'disabled' \ + if kwargs['no_api_validation'] else 'enabled' create_logs() logger = dt_logger.Logger('run').getLogger() |