зеркало из https://github.com/github/ruby.git
* bootstraptest/runner.rb (main): handle relative path -r options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7467524ca2
Коммит
b7a1480540
|
@ -1,3 +1,7 @@
|
|||
Sun May 11 22:39:33 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* bootstraptest/runner.rb (main): handle relative path -r options.
|
||||
|
||||
Sun May 11 19:04:06 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_thread.rb: kill and join temporal threads that are
|
||||
|
|
|
@ -52,7 +52,8 @@ def main
|
|||
when /\A--ruby=(.*)/
|
||||
@ruby = $1
|
||||
@ruby.gsub!(/^([^ ]*)/){File.expand_path($1)}
|
||||
@ruby.gsub!(/-I([^ ]*)/){"-I"+File.expand_path($1)}
|
||||
@ruby.gsub!(/(\s+-I\s*)(\S+)/){$1+File.expand_path($2)}
|
||||
@ruby.gsub!(/(\s+-r\s*)(\.\.?\/\S+)/){$1+File.expand_path($2)}
|
||||
true
|
||||
when /\A--sets=(.*)/
|
||||
tests = Dir.glob("#{File.dirname($0)}/test_{#{$1}}*.rb")
|
||||
|
|
Загрузка…
Ссылка в новой задаче