add testcoverage target using hpc

added a test for key read and show
This commit is contained in:
Joey Hess 2011-01-04 21:05:31 -04:00
parent f1b747e6d9
commit 759e860e4b
4 changed files with 31 additions and 1 deletions

View file

@ -4,14 +4,17 @@ import Test.HUnit.Tools
import GitRepo
import Locations
import Utility
import TypeInternals
alltests :: [Test]
alltests = [
qctest "prop_idempotent_deencode" prop_idempotent_deencode,
qctest "prop_idempotent_fileKey" prop_idempotent_fileKey,
qctest "prop_idempotent_key_read_show" prop_idempotent_key_read_show,
qctest "prop_idempotent_shellescape" prop_idempotent_shellescape,
qctest "prop_idempotent_shellescape_multiword" prop_idempotent_shellescape_multiword
]
main :: IO (Counts, Int)
main = runVerboseTests (TestList alltests)