Show More
@@ -357,6 +357,8 b' class Test(object):' | |||
|
357 | 357 | self._unittest = unittest |
|
358 | 358 | |
|
359 | 359 | self._finished = None |
|
360 | self._ret = None | |
|
361 | self._out = None | |
|
360 | 362 | |
|
361 | 363 | # If we're not in --debug mode and reference output file exists, |
|
362 | 364 | # check test output against it. |
@@ -382,6 +384,8 b' class Test(object):' | |||
|
382 | 384 | def setUp(self): |
|
383 | 385 | """Tasks to perform before run().""" |
|
384 | 386 | self._finished = False |
|
387 | self._ret = None | |
|
388 | self._out = None | |
|
385 | 389 | |
|
386 | 390 | def run(self): |
|
387 | 391 | """Run this test instance. |
@@ -433,6 +437,8 b' class Test(object):' | |||
|
433 | 437 | ret, out = self._run(testtmp, replacements, env) |
|
434 | 438 | duration = time.time() - starttime |
|
435 | 439 | self._finished = True |
|
440 | self._ret = ret | |
|
441 | self._out = out | |
|
436 | 442 | except KeyboardInterrupt: |
|
437 | 443 | duration = time.time() - starttime |
|
438 | 444 | log('INTERRUPTED: %s (after %d seconds)' % (self.name, duration)) |
General Comments 0
You need to be logged in to leave comments.
Login now