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

* bootstraptest/runner.rb: fix -I../../hoge case.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-01-30 02:59:59 +00:00
parent 3c5d20272f
commit 7b83d04514
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Jan 30 11:57:50 2008 NARUSE, Yui <naruse@ruby-lang.org>
* bootstraptest/runner.rb: fix -I../../hoge case.
Wed Jan 30 01:25:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_range.rb: add tests to achieve over 90% test coverage

View file

@ -50,7 +50,8 @@ def main
ARGV.delete_if {|arg|
case arg
when /\A--ruby=(.*)/
@ruby = File.expand_path($1)
@ruby = $1
@ruby.gsub!(/^([^ ]*)/){File.expand_path($1)}
@ruby.gsub!(/-I([^ ]*)/){"-I"+File.expand_path($1)}
true
when /\A--sets=(.*)/