diff options
author | Don Stewart <dons@galois.com> | 2008-03-22 05:16:40 +0100 |
---|---|---|
committer | Don Stewart <dons@galois.com> | 2008-03-22 05:16:40 +0100 |
commit | a3211a3e45f03945e4fe5f0f7b290eb9893cf441 (patch) | |
tree | c1984c4de7841cd6d2f49611c7fab59147bc648f | |
parent | 8435c67b18f6a188824d718be57f64833dfb3cf3 (diff) | |
download | xmonad-a3211a3e45f03945e4fe5f0f7b290eb9893cf441.tar.gz xmonad-a3211a3e45f03945e4fe5f0f7b290eb9893cf441.tar.xz xmonad-a3211a3e45f03945e4fe5f0f7b290eb9893cf441.zip |
add hpc generation script
darcs-hash:20080322041640-cba2c-63c9e0a162cea3ea3eb919516c7875f2beecd29d.gz
-rwxr-xr-x | tests/coverage.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/coverage.hs b/tests/coverage.hs new file mode 100755 index 0000000..3600951 --- /dev/null +++ b/tests/coverage.hs @@ -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" |