From 86df107eff7722b3808edbf5a1c4ee2514ed3969 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 5 Feb 2010 16:17:06 -0800 Subject: CI: add missing isolated tests --- ci/ci_build.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'ci/ci_build.rb') diff --git a/ci/ci_build.rb b/ci/ci_build.rb index bf47484320..9889bd7918 100755 --- a/ci/ci_build.rb +++ b/ci/ci_build.rb @@ -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 -- cgit v1.2.3