on master help sign in
Turn on optimisation, bump up the test count for coverage.

--HG-- extra : convert_revision : 1df1f853e488d23fde5512d979ff08a84c22430e

commit1688bac2d62f0c4f5a5584169e8b9bc331de45f5 authorBryan O'Sullivan <bos@serpentine.com> dateSat 15 Aug 2009, 04:18 (17 years ago) parent04a8a21
1 file changed+3−3
tests/Makefile+3−3
tests/Makefile+3−3
@@ -1,7 +1,7 @@
11version := $(shell awk '/^version:/{print $$2}' ../text.cabal)
22ghc := ghc
3−ghc-base-flags := -O0 -package bytestring -package QuickCheck \
4− -ignore-package text
3+ghc-base-flags := -O -funbox-strict-fields -package bytestring \
4+ -package QuickCheck -ignore-package text
55ghc-flags := $(ghc-base-flags) -i../dist/build -package-name text-$(version)
66ghc-hpc-flags := $(ghc-base-flags) -fhpc -fno-ignore-asserts -odir hpcdir \
77 -hidir hpcdir -i..
@@ -32,7 +32,7 @@ qc-hpc: Properties.hs QuickCheckUtils.hs $(lib-srcs:%=../%)
3232coverage: qc-hpc-html/hpc_index.html
3333
3434qc-hpc-html/hpc_index.html: qc-hpc
35− ./qc-hpc
35+ ./qc-hpc 500
3636 hpc markup qc-hpc --exclude=Main --exclude=Properties \
3737 --exclude=QuickCheckUtils --srcdir=.. --srcdir=. --destdir=$(dir $@)
3838