Run the test suite in parallel
commit0dc586de2be8e03384155bcc7cf7111bbf4c2338
authorKarl Wiberg <kha@treskal.com>
Tue, 24 Sep 2013 23:26:07 +0000 (25 01:26 +0200)
committerKarl Wiberg <kha@treskal.com>
Tue, 24 Sep 2013 23:55:36 +0000 (25 01:55 +0200)
treeb6661170ce342cea2dadf8a3a73abf06d18e3b8a
parent5633279e4b7c3ce3c053146fa08a9891470f4c34
Run the test suite in parallel

On a 4-core test machine with the test scratch dir on NFS, this
reduces the time for running the complete suite from 7-8 minutes to 53
seconds, very close to a 10x speedup. On a similar machine with the
test scratch dir on an SSD, it reduces the time from 3:43 to 49
seconds, a respectable 4.5x speedup.

Signed-off-by: Karl Wiberg <kha@treskal.com>
t/Makefile
t/t1800-import.sh
t/t1900-mail.sh
t/t4000-upgrade.sh
t/test-lib.sh
t/test.py [new file with mode: 0644]