Running tests faster..

Alexander Neundorf neundorf at kde.org
Sat May 12 22:04:43 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120513/f21418d1/attachment.html>


More information about the Kde-buildsystem mailing list