tests/coverage: /Network.MPD.StringConn/StringConn/
[libmpd_haskell.git] / tests / coverage
blob6b84a62ce7918692c5556db1dace29cdd4b932fb
1 #!/bin/sh
3 # Generate code coverage reports with hpc.
4 # Needs to be run from within './tests'.
5 # Non-relevant modules are excluded from the final
6 # reports.
8 rm -f *.tix
9 mkdir -p build report
10 ghc -i.. -fhpc --make Main.hs -odir=build -hidir=build && \
11 ./Main && \
12 hpc markup Main --destdir=report --exclude=Main --exclude=Properties \
13 --exclude=Displayable --exclude=Commands \
14 --exclude=StringConn && \
15 hpc report Main --exclude=Main --exclude=Properties --exclude=Commands \
16 --exclude=Displayable --exclude=StringConn