CI: add missing isolated tests

This commit is contained in:
Jeremy Kemper 2010-02-05 16:17:06 -08:00
parent a9620ab918
commit 86df107eff
1 changed files with 9 additions and 3 deletions

View File

@ -64,6 +64,7 @@ cd "#{root_dir}/actionmailer" do
puts "[CruiseControl] Building ActionMailer"
puts
build_results[:actionmailer] = rake 'test'
build_results[:actionmailer_isolated] = rake 'test:isolated'
end
cd "#{root_dir}/activemodel" do
@ -71,6 +72,7 @@ cd "#{root_dir}/activemodel" do
puts "[CruiseControl] Building ActiveModel"
puts
build_results[:activemodel] = rake 'test'
build_results[:activemodel_isolated] = rake 'test:isolated'
end
rm_f "#{root_dir}/activeresource/debug.log"
@ -79,6 +81,7 @@ cd "#{root_dir}/activeresource" do
puts "[CruiseControl] Building ActiveResource"
puts
build_results[:activeresource] = rake 'test'
build_results[:activeresource_isolated] = rake 'test:isolated'
end
rm_f "#{root_dir}/activerecord/debug.log"
@ -86,21 +89,24 @@ cd "#{root_dir}/activerecord" do
puts
puts "[CruiseControl] Building ActiveRecord with MySQL"
puts
build_results[:activerecord_mysql] = rake 'mysql:rebuild_databases', 'test_mysql'
build_results[:activerecord_mysql] = rake 'mysql:rebuild_databases', 'mysql:test'
build_results[:activerecord_mysql_isolated] = rake 'mysql:rebuild_databases', 'mysql:isolated_test'
end
cd "#{root_dir}/activerecord" do
puts
puts "[CruiseControl] Building ActiveRecord with PostgreSQL"
puts
build_results[:activerecord_postgresql8] = rake 'postgresql:rebuild_databases', 'test_postgresql'
build_results[:activerecord_postgresql8] = rake 'postgresql:rebuild_databases', 'postgresql:test'
build_results[:activerecord_postgresql8_isolated] = rake 'postgresql:rebuild_databases', 'postgresql:isolated_test'
end
cd "#{root_dir}/activerecord" do
puts
puts "[CruiseControl] Building ActiveRecord with SQLite 3"
puts
build_results[:activerecord_sqlite3] = rake 'test_sqlite3'
build_results[:activerecord_sqlite3] = rake 'sqlite3:test'
build_results[:activerecord_sqlite3_isolated] = rake 'sqlite3:isolated_test'
end