Show More
@@ -1374,12 +1374,16 b' class TTest(Test):' | |||
|
1374 | 1374 | self._have[allreqs] = (False, stdout) |
|
1375 | 1375 | return False, stdout |
|
1376 | 1376 | |
|
1377 | if b'slow' in reqs: | |
|
1378 | self._timeout = self._slowtimeout | |
|
1377 | self._detectslow(reqs) | |
|
1379 | 1378 | |
|
1380 | 1379 | self._have[allreqs] = (True, None) |
|
1381 | 1380 | return True, None |
|
1382 | 1381 | |
|
1382 | def _detectslow(self, reqs): | |
|
1383 | """update the timeout of slow test when appropriate""" | |
|
1384 | if b'slow' in reqs: | |
|
1385 | self._timeout = self._slowtimeout | |
|
1386 | ||
|
1383 | 1387 | def _iftest(self, args): |
|
1384 | 1388 | # implements "#if" |
|
1385 | 1389 | reqs = [] |
General Comments 0
You need to be logged in to leave comments.
Login now