changeset 41804:4cbccb50df46

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 24 Feb 2019 19:56:23 +0100
parents bc1c1435a874
children 090a41251f09
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):