diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-30 02:59:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-30 02:59:59 +0000 |
commit | dcf292877fea163e0f93bcd00a484af1fc0f4295 (patch) | |
tree | ca2a3a258cd39be5ccd900afbe3b50d5092c9e80 | |
parent | 9fd94a49c758507770fe406e46a61eb340e9c4ac (diff) | |
download | ruby-dcf292877fea163e0f93bcd00a484af1fc0f4295.tar.gz ruby-dcf292877fea163e0f93bcd00a484af1fc0f4295.tar.xz ruby-dcf292877fea163e0f93bcd00a484af1fc0f4295.zip |
* bootstraptest/runner.rb: fix -I../../hoge case.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bootstraptest/runner.rb | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 27b82947f..72840c4fa 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -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=(.*)/ |