]> git.notmuchmail.org Git - notmuch/commit
tests: run all tests in parallel, if available
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 4 May 2019 20:57:43 +0000 (20:57 +0000)
committerDavid Bremner <david@tethera.net>
Tue, 7 May 2019 09:54:09 +0000 (06:54 -0300)
commit908d930d221413633ab7541f97eb7cf07bfc4a91
tree6fd70ee5b7d71a47fda4e1abf5750f13a7827aa3
parent591388ccd1d7c631d1f98694543d1a80fc521d9f
tests: run all tests in parallel, if available

If either the moreutils or GNU parallel utility are available, run all
tests in parallel.  On my eight core machine this makes for a ~x7
speed-up in the full test suite (1m24s -> 12s).

The design of the test suite makes this parallelization trivial.
test/notmuch-test