on master help sign in
Fix a few Makefile bits
43d3496Bryan O'Sullivan
tests/Makefile+2−2
@@ -43,7 +43,7 @@ qc: Properties.o QuickCheckUtils.o SlowFunctions.o TestUtils.o
43sb: SearchBench.o SlowFunctions.o
43sb: SearchBench.o SlowFunctions.o
44 $(ghc) $(ghc-flags) -threaded -o $@ $^ $(lib)
44 $(ghc) $(ghc-flags) -threaded -o $@ $^ $(lib)
45
45
46−qc-hpc: Properties.hs QuickCheckUtils.hs $(lib-srcs:%=../%)
46+qc-hpc: Properties.hs QuickCheckUtils.hs SlowFunctions.hs TestUtils.hs $(lib-srcs:%=../%)
47 -mkdir -p hpcdir
47 -mkdir -p hpcdir
48 @rm -f $@.tix
48 @rm -f $@.tix
49 $(ghc) $(ghc-hpc-flags) $(ghc-test-flags) $(ghc-opt-flags) -ihpcdir \
49 $(ghc) $(ghc-hpc-flags) $(ghc-test-flags) $(ghc-opt-flags) -ihpcdir \
@@ -57,7 +57,7 @@ regressions: Regressions.o TestUtils.o
57coverage: qc-hpc-html/hpc_index.html
57coverage: qc-hpc-html/hpc_index.html
58
58
59qc-hpc-html/hpc_index.html: qc-hpc
59qc-hpc-html/hpc_index.html: qc-hpc
60− ./qc-hpc -a 100 +RTS -N2
60+ ./qc-hpc -a 100 +RTS -N
61 hpc markup qc-hpc --exclude=Main --exclude=Properties \
61 hpc markup qc-hpc --exclude=Main --exclude=Properties \
62 --exclude=Data.Text.Fusion.CaseMapping \
62 --exclude=Data.Text.Fusion.CaseMapping \
63 --exclude=SlowFunctions --exclude=TestUtils \
63 --exclude=SlowFunctions --exclude=TestUtils \