runtest: also update slow test timeout during `#if` clauses
For a `#if slow` test to be useful, we need the test timeout to be increased.
Without this, the slow section would likely be killed before it finish.
--- a/tests/run-tests.py Sun Feb 24 19:56:08 2019 +0100
+++ b/tests/run-tests.py Sun Feb 24 19:56:23 2019 +0100
@@ -1397,6 +1397,7 @@
return False
else:
reqs.append(arg)
+ self._detectslow(reqs)
return self._hghave(reqs)[0]
def _parsetest(self, lines):