Commit c5b066d5 by Zachary Snow

code coverage target

parent b7b40af6
......@@ -2,3 +2,5 @@
dist/
bin/
.stack-work/
.hpc/
*.tix
......@@ -12,3 +12,10 @@ clean:
test:
(cd test && ./run-all.sh)
coverage:
stack install --local-bin-path bin --ghc-options=-fhpc
rm -f test/*/sv2v.tix
make test
stack exec hpc -- sum test/*/sv2v.tix --union --output=.hpc/combined.tix
stack exec hpc -- markup .hpc/combined.tix --destdir=.hpc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment