Commit ec8379bd authored by Iustin Pop's avatar Iustin Pop
Browse files

Port the live-test htools rule to the main Makefile

This was a bit tricky, as the compilation from the top-dir changes the
paths in the .tix/.mix files.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent a38bfce5
......@@ -1068,6 +1068,21 @@ hs-coverage: $(haskell_tests)
hpc markup --destdir=doc/hs-coverage htools/test $(HPCEXCL)
hpc report htools/test $(HPCEXCL)
# Special "kind-of-QA" target for htools, needs special setup (all
# tools compiled with -fhpc)
.PHONY: live-test
live-test: all
set -e ; \
cd htools; \
rm -f .hpc; ln -s ../.hpc .hpc; \
rm -f *.tix *.mix; \
./; \
hpc sum --union $(HPCEXCL) $(addsuffix .tix,$(HPROGS:htools/%=%)) \
--output=live-test.tix ; \
@mkdir_p@ ../doc/hs-coverage ; \
hpc markup --destdir=../doc/hs-coverage live-test \
--srcdir=.. $(HPCEXCL) ; \
hpc report --srcdir=.. live-test $(HPCEXCL)
commit-check: distcheck lint apidoc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment