aboutsummaryrefslogblamecommitdiffstats
path: root/tests/coverage.hs
blob: 36009512f9497e8a7f6754165410ee85d4de35c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
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"