add test summary with number of parts and time

Sponsored-by: Brock Spratlen on Patreon
This commit is contained in:
Joey Hess 2023-05-18 11:19:59 -04:00
parent 287b070597
commit 28c4051e3d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 14 additions and 3 deletions

View file

@ -128,7 +128,7 @@ runner :: TestOptions -> IO ()
runner opts = parallelTestRunner opts tests
tests :: Int -> Bool -> Bool -> TestOptions -> [TestTree]
tests n crippledfilesystem adjustedbranchok opts =
tests numparts crippledfilesystem adjustedbranchok opts =
properties
: withTestMode remotetestmode testRemotes
: concatMap mkrepotests testmodes
@ -147,7 +147,7 @@ tests n crippledfilesystem adjustedbranchok opts =
| otherwise = Nothing
mkrepotests (d, te) = map
(\uts -> withTestMode te uts)
(repoTests d n)
(repoTests d numparts)
properties :: TestTree
properties = localOption (QuickCheckTests 1000) $ testGroup "QuickCheck" $