summaryrefslogtreecommitdiff
path: root/tester
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-09 14:27:42 +1100
committerChris Johns <chrisj@rtems.org>2016-03-09 14:27:42 +1100
commit2de37f3432d67e7cbaa1891769cc5ddb9fb24bc3 (patch)
tree5ecc08ee57a7a7a54f41ee0fa3a2d0efe781f17f /tester
parenta5d243d3f8e288f153dc9f6ca2e1a052e67e250d (diff)
Python 2 and python 3 refactor fixes.
Updates #2619.
Diffstat (limited to 'tester')
-rw-r--r--tester/rt/test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tester/rt/test.py b/tester/rt/test.py
index 3e1bb96..0288822 100644
--- a/tester/rt/test.py
+++ b/tester/rt/test.py
@@ -99,6 +99,7 @@ class test_run(object):
def runner(self):
self.start_time = datetime.datetime.now()
try:
+ xx
self.test = test(self.index, self.total, self.report,
self.executable, self.rtems_tools,
self.bsp, self.bsp_config,
@@ -120,6 +121,9 @@ class test_run(object):
def reraise(self):
if self.result is not None:
+ with_tb = getattr(self.result[1], 'with_traceback', None)
+ if with_tb:
+ raise self.result[1].with_traceback(self.result[2])
raise (self.result[0], self.result[1], self.result[2])
def kill(self):