mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Sort test cases to make test runs deterministic
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
feac84521f
commit
029fc2f6b4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue