From dd4537ad99716a106d99d624bdb97a1d66ba8721 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 7 Feb 2010 14:09:43 +0000 Subject: * bootstraptest/runner.rb: sort test files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstraptest/runner.rb') diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index df444f3181..b48329665a 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -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 -- cgit v1.2.3