fix git-annex test -p
authorJoey Hess <joeyh@joeyh.name>
Mon, 23 May 2022 18:12:24 +0000 (14:12 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 23 May 2022 18:24:54 +0000 (14:24 -0400)
commit85f9193167492b26ca468f324ecc445e0e98d6a0
treef38d4e018ba2bc7e366829b25ca89d502baf2902
parent478ed28f980bef5d4894b43a9f0db4b7c5fd72dd
fix git-annex test -p

test: When limiting tests to run with -p, work around tasty limitation by
automatically including dependent tests.

This fixes a reversion because it didn't used to use dependencies and
forced tasty to run the init tests first. That changed when parallelizing
the test suite.

It will sometimes do a little more work than strictly required,
because it adds init tests deps when limited to eg quickcheck tests,
which don't depend on them. But this only adds a few seconds work.

Sponsored-by: Dartmouth College's Datalad project
CHANGELOG
Test.hs
Test/Framework.hs
doc/bugs/tasty_test_limiting_broken_by_concurrency.mdwn