summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-05-07 22:59:30 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-05-14 22:06:54 +0200
commit3f84a08a4313b496233c528adb97f2ceb654bd0a (patch)
tree3a563329813acdb0ee5646b55dc7df0160173e02 /src/Main.hs
parent1dfadacb1b6e68683090a9d58bfa9c591c681054 (diff)
Run multiple whole test sequences with repeat option
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 113f54b..eb34c62 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -136,5 +136,5 @@ main = do
Just name -> filter ((==name) . testName) fileTests
ok <- allM (runTest out $ optTest opts) $
- concatMap (replicate (optRepeat opts)) $ concat tests
+ concat $ replicate (optRepeat opts) $ concat tests
when (not ok) exitFailure