tweak testrunner

This commit is contained in:
Simon Michael 2008-10-15 08:13:29 +00:00
parent 8de6d3b0a9
commit 8306c2f6b3

View File

@ -15,7 +15,7 @@ import RegisterCommand
-- quickcheck = mapM quickCheck ([
-- ] :: [Bool])
runtests = runTestTT $ tconcat [unittests, functests]
runtests = do {putStrLn "Running tests.."; runTestTT $ tconcat [unittests, functests]}
tconcat :: [Test] -> Test
tconcat = foldr (\(TestList as) (TestList bs) -> TestList (as ++ bs)) (TestList [])