Fwd: Running tests faster..

Myriam Schweingruber myriam at kde.org
Sun May 13 11:09:23 UTC 2012


JFYI


---------- Forwarded message ----------
From: Alexander Neundorf <neundorf at kde.org>
Date: Sun, May 13, 2012 at 12:04 AM
Subject: Running tests faster..
To: kde-frameworks-devel at kde.org
Cc: kde-core-devel at kde.org, kde-buildsystem at kde.org


Hi,

just a quick hint, maybe you don't know this yet:

You can run tests using "make test".

This will run test by test after each other.

Internally this simply calls ctest.

If you call ctest manually, you can use extra command line options,
and, it supports -jN, as make does.

So, if you have 4 cores, run

ctest -j4

to have it execute 4 tests in parallel and save time this way.

Happy testing :-)

Alex


-- 
Proud member of the Amarok and KDE Community
Protect your freedom and join the Fellowship of FSFE:
http://www.fsfe.org
Please don't send me proprietary file formats,
use ISO standard ODF instead (ISO/IEC 26300)


More information about the Kde-testing mailing list