Commit c5b066d5 by Zachary Snow

code coverage target

parent b7b40af6
...@@ -2,3 +2,5 @@ ...@@ -2,3 +2,5 @@
dist/ dist/
bin/ bin/
.stack-work/ .stack-work/
.hpc/
*.tix
...@@ -12,3 +12,10 @@ clean: ...@@ -12,3 +12,10 @@ clean:
test: test:
(cd test && ./run-all.sh) (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