From 98b33d0ef3ac33fa7facee8fa921506929897821 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Sat, 2 Jul 2011 21:45:12 +0200 Subject: [PATCH] Exclude auto-generated Haskell code from coverage Especially for Ganeti.Constants, which has many declarations, it doesn't make sense to check for coverage. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 20f82939d..2a879f218 100644 --- a/Makefile.am +++ b/Makefile.am @@ -316,7 +316,9 @@ HFLAGS = -O -Wall -fwarn-monomorphism-restriction -fwarn-tabs -ihtools # extra flags that can be overriden on the command line HEXTRA = # exclude options for coverage reports -HPCEXCL = --exclude Main --exclude Ganeti.HTools.QC +HPCEXCL = --exclude Main --exclude Ganeti.HTools.QC \ + --exclude Ganeti.Constants \ + --exclude Ganeti.HTools.Version HS_LIB_SRCS = \ htools/Ganeti/HTools/CLI.hs \ -- GitLab