summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/tests/functest/run_tests.py')
-rw-r--r--sfc/tests/functest/run_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfc/tests/functest/run_tests.py b/sfc/tests/functest/run_tests.py
index 9beb5ab9..f2a288a2 100644
--- a/sfc/tests/functest/run_tests.py
+++ b/sfc/tests/functest/run_tests.py
@@ -100,7 +100,11 @@ def main():
logger.info("%s\n" % ("=" * len(title)))
t = importlib.import_module(testcase, package=None)
start_time = time.time()
- result = t.main()
+ try:
+ result = t.main()
+ except Exception, e:
+ logger.error("Exception when executing: %s" % testcase)
+ logger.error(e)
end_time = time.time()
duration = end_time - start_time
status = "FAIL"