mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
add hpc generation script
This commit is contained in:
parent
209b88f821
commit
50ce362626
10
tests/coverage.hs
Normal file
10
tests/coverage.hs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env runhaskell
|
||||||
|
|
||||||
|
import System.Cmd
|
||||||
|
|
||||||
|
-- generate appropriate .hpc files
|
||||||
|
main = do
|
||||||
|
system $ "rm -rf *.tix"
|
||||||
|
system $ "dist/build/xmonad/xmonad --run-tests"
|
||||||
|
system $ "hpc markup xmonad --exclude=Main --exclude=Properties --exclude=XMonad --exclude=Paths_xmonad"
|
||||||
|
system $ "hpc report xmonad --exclude=Main --exclude=Properties --exclude=XMonad --exclude=Paths_xmonad"
|
Loading…
x
Reference in New Issue
Block a user