1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk: specify label `built-ruby'.

* benchmark/driver.rb: quote path.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2012-11-26 09:30:32 +00:00
parent 521af83558
commit 7b918be3d4
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
Mon Nov 26 18:22:56 2012 Koichi Sasada <ko1@atdot.net>
* common.mk: specify label `built-ruby'.
* benchmark/driver.rb: quote path.
Mon Nov 26 18:26:28 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com> Mon Nov 26 18:26:28 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* signal.c (signal_exec): add volatile to make sure setjmp safe. * signal.c (signal_exec): add volatile to make sure setjmp safe.

View file

@ -88,7 +88,7 @@ class BenchmarkDriver
@start_time = Time.now @start_time = Time.now
message @start_time message @start_time
@execs.each_with_index{|(path, label, version), i| @execs.each_with_index{|(path, label, version), i|
message "target #{i}: " + (label == version ? "#{label}" : "#{label} (#{version})") + " at #{path}" message "target #{i}: " + (label == version ? "#{label}" : "#{label} (#{version})") + " at \"#{path}\""
} }
end end
end end

View file

@ -940,17 +940,17 @@ OPTS =
benchmark: $(PROGRAM) PHONY benchmark: $(PROGRAM) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); $(RUNRUBY)" \ --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \
--pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS) --pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS)
benchmark-each: $(PROGRAM) PHONY benchmark-each: $(PROGRAM) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); $(RUNRUBY)" \ --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \
--pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS) --pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS)
tbench: $(PROGRAM) PHONY tbench: $(PROGRAM) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); $(RUNRUBY)" \ --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \
--pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS) --pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS)
run.gdb: run.gdb: