dovetail tool: run.py execution always wipes of results files 29/24929/4
authorxudan <xudan16@huawei.com>
Sat, 26 Nov 2016 08:19:21 +0000 (08:19 +0000)
committerxudan <xudan16@huawei.com>
Tue, 29 Nov 2016 09:26:57 +0000 (09:26 +0000)
commita83c0cfc5b1410ada3d8c54b32d3904adf3ab8f8
treeba36ac1a07320731111550cae154e3fd02c0db65
parentb9929410665d9809669b307b04904312d785be5a
dovetail tool: run.py execution always wipes of results files

1. move function clean_results_dir() into run.py
2. call this function at the beginning of function main()
3. this can only work correctly after all log initializations packaged,
   see JIRA: DOVETAIL-56 and gerrit https://gerrit.opnfv.org/gerrit/#/c/24059/

JIRA: DOVETAIL-80

Change-Id: I1cdda8f6d43f21c45c0537868cb7ed10d14ea9df
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/run.py
dovetail/utils/dovetail_logger.py