Skip to content
Snippets Groups Projects
Commit 324206b6 authored by felmer's avatar felmer
Browse files

SSDM-252, SWE-36: bug fixed which prevented that failed tests are recognized in the test suite.

SVN: 31656
parent 8bb17c90
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,6 @@ class TestCase(object): ...@@ -84,7 +84,6 @@ class TestCase(object):
except: except:
traceback.print_exc() traceback.print_exc()
success = False success = False
raise Exception("%s failed" % self.name)
finally: finally:
duration = util.renderDuration(time.time() - startTime) duration = util.renderDuration(time.time() - startTime)
if not self.devMode: if not self.devMode:
...@@ -93,6 +92,7 @@ class TestCase(object): ...@@ -93,6 +92,7 @@ class TestCase(object):
util.printAndFlush("\...........SUCCESS: %s executed in %s .........." % (self.name, duration)) util.printAndFlush("\...........SUCCESS: %s executed in %s .........." % (self.name, duration))
else: else:
util.printAndFlush("\............FAILED: %s executed in %s .........." % (self.name, duration)) util.printAndFlush("\............FAILED: %s executed in %s .........." % (self.name, duration))
raise Exception("%s failed" % self.name)
def execute(self): def execute(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment