mirror of https://github.com/rails/rails
While isolated tests are useful, they take far too long to run for us to be getting useful information from CI. Perhaps another box that runs the isolated tests every 3 hours (instead of per commit)
This commit is contained in:
parent
bc36618ae6
commit
8e64998951
|
@ -35,7 +35,7 @@ cd "#{root_dir}/activesupport" do
|
|||
puts "[CruiseControl] Building ActiveSupport"
|
||||
puts
|
||||
build_results[:activesupport] = rake 'test'
|
||||
build_results[:activesupport_isolated] = rake 'test:isolated'
|
||||
# build_results[:activesupport_isolated] = rake 'test:isolated'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/railties" do
|
||||
|
@ -50,7 +50,7 @@ cd "#{root_dir}/actionpack" do
|
|||
puts "[CruiseControl] Building ActionPack"
|
||||
puts
|
||||
build_results[:actionpack] = rake 'test'
|
||||
build_results[:actionpack_isolated] = rake 'test:isolated'
|
||||
# build_results[:actionpack_isolated] = rake 'test:isolated'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/actionmailer" do
|
||||
|
@ -58,7 +58,7 @@ cd "#{root_dir}/actionmailer" do
|
|||
puts "[CruiseControl] Building ActionMailer"
|
||||
puts
|
||||
build_results[:actionmailer] = rake 'test'
|
||||
build_results[:actionmailer_isolated] = rake 'test:isolated'
|
||||
# build_results[:actionmailer_isolated] = rake 'test:isolated'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/activemodel" do
|
||||
|
@ -66,7 +66,7 @@ cd "#{root_dir}/activemodel" do
|
|||
puts "[CruiseControl] Building ActiveModel"
|
||||
puts
|
||||
build_results[:activemodel] = rake 'test'
|
||||
build_results[:activemodel_isolated] = rake 'test:isolated'
|
||||
# build_results[:activemodel_isolated] = rake 'test:isolated'
|
||||
end
|
||||
|
||||
rm_f "#{root_dir}/activeresource/debug.log"
|
||||
|
@ -75,7 +75,7 @@ cd "#{root_dir}/activeresource" do
|
|||
puts "[CruiseControl] Building ActiveResource"
|
||||
puts
|
||||
build_results[:activeresource] = rake 'test'
|
||||
build_results[:activeresource_isolated] = rake 'test:isolated'
|
||||
# build_results[:activeresource_isolated] = rake 'test:isolated'
|
||||
end
|
||||
|
||||
rm_f "#{root_dir}/activerecord/debug.log"
|
||||
|
@ -84,7 +84,7 @@ cd "#{root_dir}/activerecord" do
|
|||
puts "[CruiseControl] Building ActiveRecord with MySQL"
|
||||
puts
|
||||
build_results[:activerecord_mysql] = rake 'mysql:rebuild_databases', 'mysql:test'
|
||||
build_results[:activerecord_mysql_isolated] = rake 'mysql:rebuild_databases', 'mysql:isolated_test'
|
||||
# build_results[:activerecord_mysql_isolated] = rake 'mysql:rebuild_databases', 'mysql:isolated_test'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/activerecord" do
|
||||
|
@ -92,7 +92,7 @@ cd "#{root_dir}/activerecord" do
|
|||
puts "[CruiseControl] Building ActiveRecord with PostgreSQL"
|
||||
puts
|
||||
build_results[:activerecord_postgresql8] = rake 'postgresql:rebuild_databases', 'postgresql:test'
|
||||
build_results[:activerecord_postgresql8_isolated] = rake 'postgresql:rebuild_databases', 'postgresql:isolated_test'
|
||||
# build_results[:activerecord_postgresql8_isolated] = rake 'postgresql:rebuild_databases', 'postgresql:isolated_test'
|
||||
end
|
||||
|
||||
cd "#{root_dir}/activerecord" do
|
||||
|
@ -100,7 +100,7 @@ cd "#{root_dir}/activerecord" do
|
|||
puts "[CruiseControl] Building ActiveRecord with SQLite 3"
|
||||
puts
|
||||
build_results[:activerecord_sqlite3] = rake 'sqlite3:test'
|
||||
build_results[:activerecord_sqlite3_isolated] = rake 'sqlite3:isolated_test'
|
||||
# build_results[:activerecord_sqlite3_isolated] = rake 'sqlite3:isolated_test'
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue