diff options
author | 2017-09-29 11:47:46 +0800 | |
---|---|---|
committer | 2017-12-21 22:47:31 +0000 | |
commit | 438ac7987935cae116c04284d2a9480c03061828 (patch) | |
tree | c43a67ac377191e9efd32f732dcbb6e2efdb6bbd | |
parent | 1a8a7c22c6b0dfc7c10b9b9a7de475fe3c1d8715 (diff) |
fix bug in reporting.
JIRA: BOTTLENECK-206
Bug fix in reporting.
Change-Id: I2d2269e9d35b279b3aa3b08d497d6e6bda2a5704
Signed-off-by: liyin <liyin11@huawei.com>
(cherry picked from commit 011a217f71c27f9b908b20f9145f461ddc12084a)
-rw-r--r-- | testsuites/run_testsuite.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/run_testsuite.py b/testsuites/run_testsuite.py index 14148ee5..e7276689 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" |