зеркало из https://github.com/github/ruby.git
* bootstraptest/runner.rb: sort test files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
bd0a3dfd65
Коммит
dd4537ad99
|
@ -1,3 +1,7 @@
|
|||
Sun Feb 7 23:08:53 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bootstraptest/runner.rb: sort test files.
|
||||
|
||||
Sun Feb 7 12:53:12 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=>
|
||||
|
|
|
@ -72,7 +72,7 @@ def main
|
|||
@ruby.gsub!(/(\s+-r\s*)(\.\.?\/\S+)/){$1+File.expand_path($2)}
|
||||
true
|
||||
when /\A--sets=(.*)/
|
||||
tests = Dir.glob("#{File.dirname($0)}/test_{#{$1}}*.rb")
|
||||
tests = Dir.glob("#{File.dirname($0)}/test_{#{$1}}*.rb").sort
|
||||
puts tests.map {|path| File.basename(path) }.inspect
|
||||
true
|
||||
when /\A--dir=(.*)/
|
||||
|
@ -106,7 +106,7 @@ End
|
|||
exit false
|
||||
end
|
||||
tests ||= ARGV
|
||||
tests = Dir.glob("#{File.dirname($0)}/test_*.rb") if tests.empty?
|
||||
tests = Dir.glob("#{File.dirname($0)}/test_*.rb").sort if tests.empty?
|
||||
pathes = tests.map {|path| File.expand_path(path) }
|
||||
|
||||
unless quiet
|
||||
|
|
Загрузка…
Ссылка в новой задаче