##// END OF EJS Templates
run-tests: generate timeout result in Test.run()
Gregory Szorc -
r21325:0e66eb57 default
parent child Browse files
Show More
@@ -635,6 +635,8 b' class Test(object):'
635 else:
635 else:
636 result.skipped = True
636 result.skipped = True
637 return self.skip(missing[-1])
637 return self.skip(missing[-1])
638 elif ret == 'timeout':
639 return self.fail('timed out', ret)
638
640
639 def _run(self, testtmp, replacements, env):
641 def _run(self, testtmp, replacements, env):
640 raise NotImplemented('Subclasses must implement Test.run()')
642 raise NotImplemented('Subclasses must implement Test.run()')
@@ -1143,8 +1145,6 b' def runone(options, test, count):'
1143
1145
1144 if result:
1146 if result:
1145 pass
1147 pass
1146 elif ret == 'timeout':
1147 result = t.fail("timed out", ret)
1148 elif out != refout:
1148 elif out != refout:
1149 info = {}
1149 info = {}
1150 if not options.nodiff:
1150 if not options.nodiff:
General Comments 0
You need to be logged in to leave comments. Login now