зеркало из https://github.com/github/ruby.git
* test/runner.rb: search srcdir/test/arg at first to find test/ruby
directory when "ruby" is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
27fdb77821
Коммит
d4e0abcec9
|
@ -1,3 +1,8 @@
|
|||
Mon Oct 20 09:47:13 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/runner.rb: search srcdir/test/arg at first to find test/ruby
|
||||
directory when "ruby" is specified.
|
||||
|
||||
Mon Oct 20 08:20:01 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk.rb: support Encoding.default_internal.
|
||||
|
|
|
@ -11,12 +11,12 @@ Test::Unit.setup_argv {|files|
|
|||
[src_testdir]
|
||||
else
|
||||
files.map {|f|
|
||||
if File.exist? f
|
||||
f
|
||||
elsif File.exist? "#{src_testdir}/#{f}"
|
||||
if File.exist? "#{src_testdir}/#{f}"
|
||||
"#{src_testdir}/#{f}"
|
||||
elsif File.exist? "#{srcdir}/#{f}"
|
||||
"#{srcdir}/#{f}"
|
||||
elsif File.exist? f
|
||||
f
|
||||
else
|
||||
raise ArgumentError, "not found: #{f}"
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче