aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/vTC/apexlake/experimental_framework/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/vTC/apexlake/experimental_framework/common.py')
-rw-r--r--yardstick/vTC/apexlake/experimental_framework/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/vTC/apexlake/experimental_framework/common.py b/yardstick/vTC/apexlake/experimental_framework/common.py
index afe70241a..f16a423fc 100644
--- a/yardstick/vTC/apexlake/experimental_framework/common.py
+++ b/yardstick/vTC/apexlake/experimental_framework/common.py
@@ -119,6 +119,8 @@ def init_general_vars(api=False):
"The provided template file does not exist")
RESULT_DIR = "/tmp/apexlake/results/"
+ if not os.path.isdir(RESULT_DIR):
+ os.mkdir(RESULT_DIR)
# Validate and assign Iterations
if cf.CFSG_ITERATIONS in CONF_FILE.get_variable_list(cf.CFS_GENERAL):