summaryrefslogtreecommitdiffstats
path: root/testsuites/run_testsuite.py
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2017-09-29 11:47:46 +0800
committerliyin <liyin11@huawei.com>2017-09-29 11:48:37 +0800
commit011a217f71c27f9b908b20f9145f461ddc12084a (patch)
tree1f38be7c26a67d41dd4eceeb0f4145664722fb59 /testsuites/run_testsuite.py
parentad12c5707ac1191063af5cd33d54dd30ff649787 (diff)
fix bug in reporting.
JIRA: BOTTLENECK-206 Bug fix in reporting. Change-Id: I2d2269e9d35b279b3aa3b08d497d6e6bda2a5704 Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'testsuites/run_testsuite.py')
-rw-r--r--testsuites/run_testsuite.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/run_testsuite.py b/testsuites/run_testsuite.py
index 8c8f6996..74ae4e1c 100644
--- a/testsuites/run_testsuite.py
+++ b/testsuites/run_testsuite.py
@@ -107,7 +107,10 @@ def testsuite_run(test_level, test_name, REPORT="False"):
conf_parser.Parser.testcase_out_dir(testcase)
start_date = datetime.datetime.now()
docker_env_prepare(config[testcase])
- posca_testcase_run(tester_parser[0], testcase, config[testcase])
+ try:
+ posca_testcase_run(tester_parser[0], testcase, config[testcase])
+ except Exception, e:
+ LOG.warning('e.message:\t', e.message)
stop_date = datetime.datetime.now()
LOG.info("End of %s testcase in POSCA testsuite", testcase)
criteria = "FAIL"