From 029fc2f6b4373e69d29d9817c15d340316df88c5 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Wed, 20 Feb 2008 02:27:40 +0000 Subject: [PATCH] Sort test cases to make test runs deterministic git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 94277704d1..6e25fb4ea7 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -33,7 +33,7 @@ for adapter in %w( mysql postgresql sqlite sqlite3 firebird db2 oracle sybase op Rake::TestTask.new("test_#{adapter}") { |t| t.libs << "test" << "test/connections/native_#{adapter}" adapter_short = adapter == 'db2' ? adapter : adapter[/^[a-z]+/] - t.pattern = "test/cases/**/*_test{,_#{adapter_short}}.rb" + t.test_files=Dir.glob( "test/cases/**/*_test{,_#{adapter_short}}.rb" ).sort t.verbose = true }