Commits

Bryan O'Sullivan committed ffd2ad1

Turn on optimisation, bump up the test count for coverage.

  • Participants
  • Parent commits 6f200d8

Comments (0)

Files changed (1)

File tests/Makefile

 version := $(shell awk '/^version:/{print $$2}' ../text.cabal)
 ghc := ghc
-ghc-base-flags := -O0 -package bytestring -package QuickCheck \
-	-ignore-package text
+ghc-base-flags := -O -funbox-strict-fields -package bytestring \
+	-package QuickCheck -ignore-package text
 ghc-flags := $(ghc-base-flags) -i../dist/build -package-name text-$(version)
 ghc-hpc-flags := $(ghc-base-flags) -fhpc -fno-ignore-asserts -odir hpcdir \
 	-hidir hpcdir -i..
 coverage: qc-hpc-html/hpc_index.html
 
 qc-hpc-html/hpc_index.html: qc-hpc
-	./qc-hpc
+	./qc-hpc 500
 	hpc markup qc-hpc --exclude=Main --exclude=Properties \
 	  --exclude=QuickCheckUtils --srcdir=.. --srcdir=. --destdir=$(dir $@)