Added sort to file list.

This commit is contained in:
Martin Edenhofer 2013-02-26 22:01:20 +01:00
parent 3dacc8f683
commit 5c58275c1f

View file

@ -9,7 +9,7 @@ namespace :test do
if !args.opts if !args.opts
args.opts = '' args.opts = ''
end end
Dir.glob('test/browser/*_test.rb').each { |r| Dir.glob('test/browser/*_test.rb').sort.each { |r|
sh "#{args.opts} ruby -Itest #{r}" do |ok, res| sh "#{args.opts} ruby -Itest #{r}" do |ok, res|
raise "Failed test. " + res.inspect if !ok raise "Failed test. " + res.inspect if !ok
end end