[PATCH] test: split test-largefile.t in multiple file

Mads Kiilerich mads at kiilerich.com
Fri May 16 15:12:05 CDT 2014


On 05/16/2014 08:36 AM, pierre-yves.david at ens-lyon.org wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1400216161 25200
> #      Thu May 15 21:56:01 2014 -0700
> # Node ID a11399582ebe4f270b762f51fdedf269cbc7719e
> # Parent  1ae3cd6f836c3c96ee3e9a872c8e966750910c2d
> test: split test-largefile.t in multiple file

Fine with me.

I will still claim that when this makes a difference for your full test 
suite benchmarks then it is because the test scheduler is inefficient. 
It should keep records of the previous execution time for each test and 
use that for scheduling the tests fairly. Splitting the largefiles test 
will address the symptom, not the real problem.

Having smaller tests is however also nice when rerunning tests because 
of a single failure.

But please make sure the splitup is recorded as a copy so merges and 
annotate works.

/Mads




More information about the Mercurial-devel mailing list