Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Sort test cases to make test runs deterministic

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 029fc2f6b4373e69d29d9817c15d340316df88c5 1 parent feac845
@NZKoz NZKoz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/Rakefile
View
2  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
}
Please sign in to comment.
Something went wrong with that request. Please try again.