diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1353,6 +1353,9 @@ class TTest(Test): def _hghave(self, reqs): allreqs = b' '.join(reqs) + + self._detectslow(reqs) + if allreqs in self._have: return self._have.get(allreqs) @@ -1374,8 +1377,6 @@ class TTest(Test): self._have[allreqs] = (False, stdout) return False, stdout - self._detectslow(reqs) - self._have[allreqs] = (True, None) return True, None