From 324206b6fb9f5e04085abe88e12806920aaa2ff1 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Wed, 4 Jun 2014 13:35:24 +0000 Subject: [PATCH] SSDM-252, SWE-36: bug fixed which prevented that failed tests are recognized in the test suite. SVN: 31656 --- integration-tests/source/systemtest/testcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/source/systemtest/testcase.py b/integration-tests/source/systemtest/testcase.py index c0651143727..1e4d64312d7 100644 --- a/integration-tests/source/systemtest/testcase.py +++ b/integration-tests/source/systemtest/testcase.py @@ -84,7 +84,6 @@ class TestCase(object): except: traceback.print_exc() success = False - raise Exception("%s failed" % self.name) finally: duration = util.renderDuration(time.time() - startTime) if not self.devMode: @@ -93,6 +92,7 @@ class TestCase(object): util.printAndFlush("\...........SUCCESS: %s executed in %s .........." % (self.name, duration)) else: util.printAndFlush("\............FAILED: %s executed in %s .........." % (self.name, duration)) + raise Exception("%s failed" % self.name) def execute(self): """ -- GitLab