From a3211a3e45f03945e4fe5f0f7b290eb9893cf441 Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Sat, 22 Mar 2008 05:16:40 +0100 Subject: add hpc generation script darcs-hash:20080322041640-cba2c-63c9e0a162cea3ea3eb919516c7875f2beecd29d.gz --- tests/coverage.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/coverage.hs (limited to 'tests') 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" -- cgit v1.2.3