[Git][ghc/ghc][wip/unify-hpc-testsuites] Fix Makefile
BinderDavid (@BinderDavid)
gitlab at gitlab.haskell.org
Fri Nov 17 15:27:34 UTC 2023
BinderDavid pushed to branch wip/unify-hpc-testsuites at Glasgow Haskell Compiler / GHC
Commits:
448671a7 by David Binder at 2023-11-17T16:27:26+01:00
Fix Makefile
- - - - -
1 changed file:
- testsuite/tests/hpc/Makefile
Changes:
=====================================
testsuite/tests/hpc/Makefile
=====================================
@@ -18,36 +18,3 @@ T17073:
T20568:
"$(TEST_HC)" $(TEST_HC_ARGS) T20568.hs -fhpc -v0
./T20568
-
-#
-# This is measuring coverage of the hpc tool itself.
-# In the hpc directory
-# % cd $ROOT/utils/hpc
-# It assumes you have make a copy of hpc that
-# is not compiled with -fhpc, and called it hpc-std
-# % make clean ; make boot ; make ; mv hpc-inplace hpc-std
-# It assumes that the utils/hpc has been compiled with
-# % make clean ; make boot ; make UseStage1=YES EXTRA_HC_OPTS=-fhpc
-#
-#HPCTOOLS_BORING = HpcParser HpcOverlay HpcLexer HpcDraft HpcCombine
-HPCTOOLS_BORING = HpcParser
-BORING_FLAGS = $(foreach BORING,$(HPCTOOLS_BORING),--exclude=$(BORING))
-COVERAGE_OUT = tool-coverage.info
-
-HPC_ALL_TIX = hpc-all.tix
-HPC_EXC_TIX = hpc-exceptions.tix
-
-hpc-tool-coverage-clean::
- find . -name 'hpc.tix' -print | xargs rm -f
-
-hpc-tool-coverage::
- $(HPC) overlay hpc.ovr --output=$(HPC_EXC_TIX)
- $(HPC) sum $(shell find . -name 'hpc-inplace.tix' -print) $(HPC_EXC_TIX) \
- --output=$(HPC_ALL_TIX) --union
- date >> $(COVERAGE_OUT)
- $(HPC) report $(HPC_ALL_TIX) --xml-output >> $(COVERAGE_OUT)
- echo OMIT: $(HPCTOOLS_BORING) >> $(COVERAGE_OUT)
- $(HPC) report $(HPC_ALL_TIX) --xml-output $(BORING_FLAGS) \
- >> $(COVERAGE_OUT)
- $(HPC) markup $(HPC_ALL_TIX) $(BORING_FLAGS) --destdir=html
-
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/448671a7d4ad7cf8454b31fe15304f5c823542a5
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/448671a7d4ad7cf8454b31fe15304f5c823542a5
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231117/2450f86d/attachment-0001.html>
More information about the ghc-commits
mailing list