]> dgit.raspbian.org Git - git-annex.git/commit
test: Added --jobs option
authorJoey Hess <joeyh@joeyh.name>
Wed, 16 Mar 2022 18:42:07 +0000 (14:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 16 Mar 2022 18:42:07 +0000 (14:42 -0400)
commit025c18128bfdfac6f784fb8b1b083e41ea425cfe
tree3a6dd4d35cb339948003fec094670a15aea869e6
parentbe31a8a3d20625b349ef43de8a58363e1bfd186b
test: Added --jobs option

Default to the number of CPU cores, which seems about optimal
on my laptop. Using one more saves me 2 seconds actually.

Better packing of workers improves speed significantly.

In 2 tests runs, I saw segfaulting workers despite my attempt
to work around that issue. So detect when a worker does, and re-run it.

Removed installSignalHandlers again, because I was seeing an
error "lost signal due to full pipe", which I guess was somehow caused
by using it.

Sponsored-by: Dartmouth College's Datalad project
CHANGELOG
Test.hs
Test/Framework.hs
Types/Test.hs
doc/git-annex-test.mdwn
doc/todo/speed_up___34__standalone_build__34___and__47__or_tests/comment_9_2253c6916a1c6e4f1393b8656617aa10._comment [new file with mode: 0644]