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

* common.mk (benchmark): order options for built-ruby and compare-ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2016-04-15 06:39:49 +00:00
parent 53d4862952
commit b80598a926
2 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Fri Apr 15 15:38:58 2016 NARUSE, Yui <naruse@ruby-lang.org>
* common.mk (benchmark): order options for built-ruby and compare-ruby.
Fri Apr 15 14:14:00 2016 Kenta Murata <mrkn@mrkn.jp> Fri Apr 15 14:14:00 2016 Kenta Murata <mrkn@mrkn.jp>
* test/ruby/test_array.rb (test_sum): add assertions for Rational and * test/ruby/test_array.rb (test_sum): add assertions for Rational and

View file

@ -927,19 +927,19 @@ OPTS =
# for example, # for example,
# $ make benchmark COMPARE_RUBY="ruby-trunk" OPTS="-e ruby-2.2.2" # $ make benchmark COMPARE_RUBY="ruby-trunk" OPTS="-e ruby-2.2.2"
# This command compares trunk and built-ruby and 2.2.2 # This command compares trunk and built-ruby and 2.2.2
benchmark: $(PROGRAM) PHONY benchmark: miniruby$(EXEEXT) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \ --executables="$(COMPARE_RUBY) -I../../ruby/lib -I. -I.ext/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \
--pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS) --pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS)
benchmark-each: $(PROGRAM) PHONY benchmark-each: miniruby$(EXEEXT) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \ --executables="$(COMPARE_RUBY) -I../../ruby/lib -I. -I.ext/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \
--pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS) --pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS)
tbench: $(PROGRAM) PHONY tbench: miniruby$(EXEEXT) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \ --executables="$(COMPARE_RUBY) -I../../ruby/lib -I. -I.ext/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \
--pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS) --pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS)
run.gdb: run.gdb: