summaryrefslogtreecommitdiffstats
path: root/func/driver.py
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-05 16:12:00 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-05 17:11:12 +0800
commit71d715b04b2ded20f81bd5c5083fcb2fbce06c1f (patch)
treedfedee9d75f5fdc88aecb096408f806a09b4e4bb /func/driver.py
parent1ebddd16525c9f82540b8cbfb76685acf1d1b218 (diff)
Remove results directory out of repos
Delete results directory from qtip repos. And the results files will be stored under /home/opnfv/qtip/results. Change-Id: Ie1091e60eb77068c20a9095f0f85454f18173872 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'func/driver.py')
-rw-r--r--func/driver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/func/driver.py b/func/driver.py
index 47d00f1f..c765728b 100644
--- a/func/driver.py
+++ b/func/driver.py
@@ -9,6 +9,7 @@
from utils import logger_utils
from operator import add
from ansible_api import AnsibleApi
+from os.path import expanduser
logger = logger_utils.QtipLogger('driver').get
@@ -35,7 +36,7 @@ class Driver:
def get_common_var_json(self, installer_type, pwd, benchmark_fname,
benchmark_detail, pip_dict, proxy_info):
- common_json = {'Dest_dir': 'results',
+ common_json = {'Dest_dir': expanduser('~') + '/qtip/results',
'ip1': '',
'ip2': '',
'installer': str(installer_type),