1. Yit Phang Khoo
  2. Adapton.ocaml

Commits

Yit Phang Khoo  committed 6f4c273

Also label benchmark with the HG working copy (or MQ parent) revision number.

  • Participants
  • Parent commits 790f3dd
  • Branches default

Comments (0)

Files changed (1)

File Makefile

View file
  • Ignore whitespace
 benchmark-% : check $(OCAMLBUILD_PRODUCTDIR)/runbenchmark%.py ocamlbuild//runbenchmark%.native
 	ulimit -s hard && \
 		$(OCAMLBUILD_PRODUCTDIR)/runbenchmark$*.py \
-			-L "$(strip $(shell hg qapplied --config defaults.qapplied=))" \
+			$(and $(shell hg id 2>/dev/null),--label "r$(shell (hg id -n -rqparent && hg qapplied --config defaults.qapplied= || hg id -n) 2>/dev/null)") \
 			$(BENCHMARK_FLAGS) $(BENCHMARK_FLAGS.$*)
 
 resummarize-benchmark-% : check $(OCAMLBUILD_PRODUCTDIR)/runbenchmark%.py ocamlbuild//runbenchmark%.native