# HG changeset patch # User Pierre-Yves David # Date 2019-02-24 18:56:23 # Node ID 4cbccb50df46699d309eb904e7b8a5670f7a694d # Parent bc1c1435a87478e933a788a7b859c1df07758b69 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. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1397,6 +1397,7 @@ class TTest(Test): return False else: reqs.append(arg) + self._detectslow(reqs) return self._hghave(reqs)[0] def _parsetest(self, lines):