From 5c58275c1f08dbf972a33ec35dd9c45fa1e289ab Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Feb 2013 22:01:20 +0100 Subject: [PATCH] Added sort to file list. --- lib/tasks/test_browser.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/test_browser.rake b/lib/tasks/test_browser.rake index c19d580df..a169b1b72 100644 --- a/lib/tasks/test_browser.rake +++ b/lib/tasks/test_browser.rake @@ -9,7 +9,7 @@ namespace :test do if !args.opts args.opts = '' 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| raise "Failed test. " + res.inspect if !ok end