Mercurial > hg
comparison tests/run-tests.py @ 42848:344a086bb764 stable
tests: register test-merge-combination.t as small but slow
run-tests.py use file size as an heuristic for test run time. The new
`test-merge-combination.t` is a small file that do a lot of processing. As a
result it tend to be scheduled really late but delay the full test run by a lot.
On an example test run, the one-before-last test completed 279s after the start
of the run, while `test-merge-combination.t` finished 355s after it. A 76s
delay. This delay can be avoided since `test-merge-combination.t` only got started
175s after the start of the run.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 07 Sep 2019 14:51:18 +0200 |
parents | 9913fffd744b |
children | f059d6ffcdf0 |
comparison
equal
deleted
inserted
replaced
42847:da2c360899c9 | 42848:344a086bb764 |
---|---|
2511 b'race': 10, | 2511 b'race': 10, |
2512 b'i18n': 10, | 2512 b'i18n': 10, |
2513 b'check': 100, | 2513 b'check': 100, |
2514 b'gendoc': 100, | 2514 b'gendoc': 100, |
2515 b'contrib-perf': 200, | 2515 b'contrib-perf': 200, |
2516 b'merge-combination': 100, | |
2516 } | 2517 } |
2517 perf = {} | 2518 perf = {} |
2518 | 2519 |
2519 def sortkey(f): | 2520 def sortkey(f): |
2520 # run largest tests first, as they tend to take the longest | 2521 # run largest tests first, as they tend to take the longest |