[commit: packages/containers] ghc-head: Allow running only specified benchmarks. (d9c13ce)

git at git.haskell.org git at git.haskell.org
Fri Aug 30 13:33:50 CEST 2013


Repository : ssh://git@git.haskell.org/containers

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/containers.git;a=commit;h=d9c13ce0ff14b98fcdd1063f5ad15ca7493477fb

>---------------------------------------------------------------

commit d9c13ce0ff14b98fcdd1063f5ad15ca7493477fb
Author: Milan Straka <fox at ucw.cz>
Date:   Thu Aug 30 23:39:11 2012 +0200

    Allow running only specified benchmarks.


>---------------------------------------------------------------

d9c13ce0ff14b98fcdd1063f5ad15ca7493477fb
 benchmarks/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index a2f3cc2..1539a2a 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -4,7 +4,7 @@ bench-%: %.hs force
 	ghc -O2 -DTESTING $< -i../$(TOP) -o $@ -outputdir tmp -rtsopts
 
 bench-%.csv: bench-%
-	./bench-$* -v -u bench-$*.csv
+	./bench-$* $(BENCHMARK) -v -u bench-$*.csv
 
 .PHONY: force clean veryclean
 force:





More information about the ghc-commits mailing list