summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/runner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 74cb2b9..e8651fe 100644
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -51,6 +51,7 @@ def main
case arg
when /\A--ruby=(.*)/
@ruby = File.expand_path($1)
+ @ruby.gsub!(/-I([^ ]*)/){"-I"+File.expand_path($1)}
true
when /\A--sets=(.*)/
tests = Dir.glob("#{File.dirname($0)}/test_{#{$1}}*.rb")