mirror of https://github.com/rails/rails
For now, we will keep sorting the tests.
This reverts commitse969c92846
andbd2b3fbe54
.
This commit is contained in:
parent
4c440a54e9
commit
7025d7769d
|
@ -9,7 +9,10 @@ task :default => :test
|
|||
# Run the unit tests
|
||||
Rake::TestTask.new do |t|
|
||||
t.libs << 'test'
|
||||
t.test_files = test_files
|
||||
|
||||
# make sure we include the tests in alphabetical order as on some systems
|
||||
# this will not happen automatically and the tests (as a whole) will error
|
||||
t.test_files = test_files.sort
|
||||
|
||||
t.warning = true
|
||||
t.verbose = true
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace :test do
|
|||
|
||||
Rake::TestTask.new(:template) do |t|
|
||||
t.libs << 'test'
|
||||
t.test_files = Dir.glob('test/template/**/*_test.rb')
|
||||
t.test_files = Dir.glob('test/template/**/*_test.rb').sort
|
||||
t.warning = true
|
||||
t.verbose = true
|
||||
end
|
||||
|
|
|
@ -6,7 +6,7 @@ task :default => :test
|
|||
|
||||
Rake::TestTask.new do |t|
|
||||
t.libs << "test"
|
||||
t.test_files = Dir.glob("#{dir}/test/cases/**/*_test.rb")
|
||||
t.test_files = Dir.glob("#{dir}/test/cases/**/*_test.rb").sort
|
||||
t.warning = true
|
||||
t.verbose = true
|
||||
end
|
||||
|
|
|
@ -51,7 +51,7 @@ end
|
|||
t.libs << 'test'
|
||||
t.test_files = (Dir.glob( "test/cases/**/*_test.rb" ).reject {
|
||||
|x| x =~ /\/adapters\//
|
||||
} + Dir.glob("test/cases/adapters/#{adapter_short}/**/*_test.rb"))
|
||||
} + Dir.glob("test/cases/adapters/#{adapter_short}/**/*_test.rb")).sort
|
||||
|
||||
t.warning = true
|
||||
t.verbose = true
|
||||
|
|
Loading…
Reference in New Issue