summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bootstraptest/runner.rb3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a18c5be45e..cd1f9adac2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 27b82947f2..72840c4fa9 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=(.*)/