mirror of https://github.com/zachjs/sv2v.git
code coverage target
This commit is contained in:
parent
b7b40af6b8
commit
c5b066d5eb
|
|
@ -2,3 +2,5 @@
|
|||
dist/
|
||||
bin/
|
||||
.stack-work/
|
||||
.hpc/
|
||||
*.tix
|
||||
|
|
|
|||
7
Makefile
7
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue