on master help sign in
Make tests compile and run in reasonable time.
522b34dBryan O'Sullivan
tests/Makefile+2−2
@@ -1,6 +1,6 @@
1version := $(shell awk '/^version:/{print $$2}' ../text.cabal)
1version := $(shell awk '/^version:/{print $$2}' ../text.cabal)
2ghc := ghc
2ghc := ghc
3−ghc-base-flags := -O -funbox-strict-fields \
3+ghc-base-flags := -O0 -funbox-strict-fields \
4 -package bytestring -package QuickCheck -package test-framework \
4 -package bytestring -package QuickCheck -package test-framework \
5 -package test-framework-quickcheck -ignore-package text
5 -package test-framework-quickcheck -ignore-package text
6ghc-base-flags += -Wall -fno-warn-orphans -fno-warn-missing-signatures
6ghc-base-flags += -Wall -fno-warn-orphans -fno-warn-missing-signatures
@@ -41,7 +41,7 @@ qc-hpc: Properties.hs QuickCheckUtils.hs $(lib-srcs:%=../%)
41coverage: qc-hpc-html/hpc_index.html
41coverage: qc-hpc-html/hpc_index.html
42
42
43qc-hpc-html/hpc_index.html: qc-hpc
43qc-hpc-html/hpc_index.html: qc-hpc
44− ./qc-hpc -a 500 +RTS -N2
44+ ./qc-hpc -a 100 +RTS -N2
45 hpc markup qc-hpc --exclude=Main --exclude=Properties \
45 hpc markup qc-hpc --exclude=Main --exclude=Properties \
46 --exclude=Data.Text.Fusion.CaseMapping \
46 --exclude=Data.Text.Fusion.CaseMapping \
47 --exclude=QuickCheckUtils --srcdir=.. --srcdir=. --destdir=$(dir $@)
47 --exclude=QuickCheckUtils --srcdir=.. --srcdir=. --destdir=$(dir $@)