Skip to content
Snippets Groups Projects
Commit 9822b1dd authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix Makefile rules for QCHelper.hs


Include QCHelper.hs in the distributed files, and also exclude it and
the THH.hs file from coverage reports.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarAndrea Spadaccini <spadaccio@google.com>
parent 53664e15
No related branches found
No related tags found
No related merge requests found
...@@ -334,8 +334,11 @@ HFLAGS = -O -Wall -fwarn-monomorphism-restriction -fwarn-tabs -ihtools ...@@ -334,8 +334,11 @@ HFLAGS = -O -Wall -fwarn-monomorphism-restriction -fwarn-tabs -ihtools
# extra flags that can be overriden on the command line # extra flags that can be overriden on the command line
HEXTRA = HEXTRA =
# exclude options for coverage reports # exclude options for coverage reports
HPCEXCL = --exclude Main --exclude Ganeti.HTools.QC \ HPCEXCL = --exclude Main \
--exclude Ganeti.Constants \ --exclude Ganeti.Constants \
--exclude Ganeti.THH \
--exclude Ganeti.HTools.QC \
--exclude Ganeti.HTools.QCHelper \
--exclude Ganeti.HTools.Version --exclude Ganeti.HTools.Version
HS_LIB_SRCS = \ HS_LIB_SRCS = \
...@@ -353,6 +356,7 @@ HS_LIB_SRCS = \ ...@@ -353,6 +356,7 @@ HS_LIB_SRCS = \
htools/Ganeti/HTools/Node.hs \ htools/Ganeti/HTools/Node.hs \
htools/Ganeti/HTools/PeerMap.hs \ htools/Ganeti/HTools/PeerMap.hs \
htools/Ganeti/HTools/QC.hs \ htools/Ganeti/HTools/QC.hs \
htools/Ganeti/HTools/QCHelper.hs \
htools/Ganeti/HTools/Rapi.hs \ htools/Ganeti/HTools/Rapi.hs \
htools/Ganeti/HTools/Simu.hs \ htools/Ganeti/HTools/Simu.hs \
htools/Ganeti/HTools/Text.hs \ htools/Ganeti/HTools/Text.hs \
...@@ -1116,7 +1120,7 @@ check-local: check-dirs $(BUILT_SOURCES) ...@@ -1116,7 +1120,7 @@ check-local: check-dirs $(BUILT_SOURCES)
fi; \ fi; \
for file in doc/iallocator.rst doc/hooks.rst; do \ for file in doc/iallocator.rst doc/hooks.rst; do \
if test "`sed -ne '4 p' $(top_srcdir)/$$file`" != \ if test "`sed -ne '4 p' $(top_srcdir)/$$file`" != \
"Documents Ganeti version $$expver"; then \ "Documents Ganeti version $$expver"; then \
echo "Incorrect version in $$file, expected $$expver"; \ echo "Incorrect version in $$file, expected $$expver"; \
exit 1; \ exit 1; \
fi; \ fi; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment