summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-06-14 23:57:48 -0300
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-06-18 09:29:52 +0100
commit3ff647d09877e50ac0244c86d8958c2cfe328ab3 (patch)
tree5cf46f2f5f924411ef32ee392c6e145e67b37561
parent7457d361a6fba637c540a5df39d2c93c691ab12c (diff)
test: Only get the test stats after emitting stop to give a chance to validate items on stop.
-rw-r--r--insanity/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/insanity/test.py b/insanity/test.py
index 148c0cf..c68a049 100644
--- a/insanity/test.py
+++ b/insanity/test.py
@@ -427,11 +427,11 @@ class Test(gobject.GObject):
self._testtimeoutid = 0
notimeout = True
self.validateChecklistItem("no-timeout", notimeout)
+ self.emit("stop", self._iteration)
self.iteration_checklist[self._iteration] = self._checklist
self.iteration_extrainfo[self._iteration] = self._extrainfo
self.iteration_outputfiles[self._iteration] = self._outputfiles
self.iteration_success_percentage[self._iteration] = self.getSuccessPercentage()
- self.emit("stop", self._iteration)
def start(self):
"""