summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-10 10:49:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-10 10:49:35 -0400
commit515d6b6c7d90e1ff44e791421066450cf4322b47 (patch)
treeeb2b5ae47c93c5d4cd3a928295ed7658b84bf4c4 /test.hs
parent536bc97d25479ac969273b49442c2fd8c31358c4 (diff)
Avoid using runghc to run test suite as it is not available on all architectures. Closes: #603006
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.hs b/test.hs
index 288532d7b..2faf579a2 100644
--- a/test.hs
+++ b/test.hs
@@ -1,15 +1,16 @@
-- TODO find a test harness that is actually in Debian and use it.
-import Test.QuickCheck
import Test.HUnit
import Test.HUnit.Tools
import GitRepo
import Locations
+alltests :: [Test]
alltests = [
qctest "prop_idempotent_deencode" prop_idempotent_deencode,
qctest "prop_idempotent_fileKey" prop_idempotent_fileKey
]
+main :: IO (Counts, Int)
main = runVerboseTests (TestList alltests)