[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Rewrite integration tests



Hello Chenxiong,

Chenxiong Qi <cqi@redhat.com> a écrit:

> For the moment, it's easily to run such tests in parallel with
> multiprocessing. How about do it this way before
> runtestfedabipkgdiff.py.in becomes a C++ program one day?

By the magic of Automake, the tests are already run in parallel when you
do 'make -jN check', or 'make -jN distcheck' with N being the number
processes you'd like to run in parallel.  That is what I use all the
time.

Though, on machines with P processing cores, if P is a number that is
larger than the number of test programs (let's call that test programs
number T), then we want to be able to use the remaining P - T cores too,
to speedup things.  That is why it's useful to have each individual test
to be able to take advange of multi-cores as well, when that makes
sense.

Cheers,

-- 
		Dodji