summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/run_posca.py
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2017-02-14 10:42:07 +0800
committerliyin <liyin11@huawei.com>2017-02-14 10:49:54 +0800
commitbe6453bb485c720278c5f6a45a5194391e454ce4 (patch)
tree2cec6d1d42c07de5cefc258399150557f1dcb8d7 /testsuites/posca/run_posca.py
parent9c22cd768a161ec0eab4da24f40a4c626275c746 (diff)
Dashboard and output file code reconstruction
JIRA:BOTTLENECK-134 Those code will change the way to create dashboard. And dashboard as a spare function to show data. And we add log system to dashboard creation. The output file is created anyway. Change-Id: Ia3c4d5a8ada27005702e3eed08757f61610da22f Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'testsuites/posca/run_posca.py')
-rwxr-xr-xtestsuites/posca/run_posca.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/posca/run_posca.py b/testsuites/posca/run_posca.py
index a687e00e..72a0d4c2 100755
--- a/testsuites/posca/run_posca.py
+++ b/testsuites/posca/run_posca.py
@@ -22,7 +22,7 @@ INTERPRETER = "/usr/bin/python"
LOG = log.Logger(__name__).getLogger()
# ------------------------------------------------------
-# run posca testcase
+# run testcase in posca
# ------------------------------------------------------
@@ -40,6 +40,8 @@ def posca_run(test_level, test_name):
config = conf_parser.Parser.story_read("posca", test_name)
for testcase in config:
LOG.info("Begin to run %s testcase in POSCA testsuite", testcase)
+ config[testcase]['out_file'] =\
+ conf_parser.Parser.testcase_out_dir(testcase)
posca_testcase_run(testcase, config[testcase])
LOG.info("End of %s testcase in POSCA testsuite", testcase)