##// END OF EJS Templates
runtest: move slow timeout process earlier in the `_hghave` method...
marmoute -
r41968:bc1c1435 default
parent child Browse files
Show More
@@ -1353,6 +1353,9 b' class TTest(Test):'
1353
1353
1354 def _hghave(self, reqs):
1354 def _hghave(self, reqs):
1355 allreqs = b' '.join(reqs)
1355 allreqs = b' '.join(reqs)
1356
1357 self._detectslow(reqs)
1358
1356 if allreqs in self._have:
1359 if allreqs in self._have:
1357 return self._have.get(allreqs)
1360 return self._have.get(allreqs)
1358
1361
@@ -1374,8 +1377,6 b' class TTest(Test):'
1374 self._have[allreqs] = (False, stdout)
1377 self._have[allreqs] = (False, stdout)
1375 return False, stdout
1378 return False, stdout
1376
1379
1377 self._detectslow(reqs)
1378
1379 self._have[allreqs] = (True, None)
1380 self._have[allreqs] = (True, None)
1380 return True, None
1381 return True, None
1381
1382
General Comments 0
You need to be logged in to leave comments. Login now