* benchmark/driver.rb: add path to trunk/lib if driver runner is
in build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a5c4480732
commit
58b1f91b46
@ -1,3 +1,8 @@
|
|||||||
|
Wed Nov 21 18:02:10 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* benchmark/driver.rb: add path to trunk/lib if driver runner is
|
||||||
|
in build directory.
|
||||||
|
|
||||||
Wed Nov 21 16:39:21 2007 Tanaka Akira <akr@fsij.org>
|
Wed Nov 21 16:39:21 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert
|
* test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert
|
||||||
|
@ -2,7 +2,22 @@
|
|||||||
# Ruby Benchmark driver
|
# Ruby Benchmark driver
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'optparse'
|
first = true
|
||||||
|
|
||||||
|
p RUBY_VERSION
|
||||||
|
|
||||||
|
begin
|
||||||
|
require 'optparse'
|
||||||
|
rescue LoadError
|
||||||
|
if first
|
||||||
|
first = false
|
||||||
|
$:.unshift File.join(File.dirname(__FILE__), '../lib')
|
||||||
|
retry
|
||||||
|
else
|
||||||
|
raise
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
require 'benchmark'
|
require 'benchmark'
|
||||||
require 'pp'
|
require 'pp'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user