diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-07 14:09:43 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-07 14:09:43 +0000 |
commit | dd4537ad99716a106d99d624bdb97a1d66ba8721 (patch) | |
tree | 902bd648f384daf299d158cecd456aad81a5c92f /bootstraptest | |
parent | bd0a3dfd65a164f422e7e2e92bfc3fddb084cde5 (diff) | |
download | ruby-dd4537ad99716a106d99d624bdb97a1d66ba8721.tar.gz |
* bootstraptest/runner.rb: sort test files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rwxr-xr-x | bootstraptest/runner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |