summaryrefslogtreecommitdiff
path: root/test/runTests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/runTests.hs')
-rw-r--r--test/runTests.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runTests.hs b/test/runTests.hs
index b8478f64..d23113fc 100644
--- a/test/runTests.hs
+++ b/test/runTests.hs
@@ -87,8 +87,8 @@ data Config
87arguments :: Parser (Config, [String]) 87arguments :: Parser (Config, [String])
88arguments = 88arguments =
89 (,) <$> (Config <$> switch (short 'v' <> long "verbose" <> help "Verbose output during test runs") 89 (,) <$> (Config <$> switch (short 'v' <> long "verbose" <> help "Verbose output during test runs")
90 <*> switch (short 'r' <> long "reject" <> help "Reject new and different values inmediatelly") 90 <*> switch (short 'r' <> long "reject" <> help "Reject test cases with missing, new or different .out files")
91 <*> option (realToFrac <$> (auto :: ReadM Double)) (value 60 <> short 't' <> long "notimeout" <> help "Disable timeout for tests (in seconds)")) 91 <*> option (realToFrac <$> (auto :: ReadM Double)) (value 60 <> short 't' <> long "timeout" <> help "Timeout for tests in seconds"))
92 <*> many (strArgument idm) 92 <*> many (strArgument idm)
93 93
94data Res = Passed | Accepted | New | TimedOut | Rejected | Failed | ErrorCatched 94data Res = Passed | Accepted | New | TimedOut | Rejected | Failed | ErrorCatched