Permalink
Browse files

CI: add missing isolated tests

  • Loading branch information...
1 parent a9620ab commit 86df107eff7722b3808edbf5a1c4ee2514ed3969 @jeremy jeremy committed Feb 6, 2010
Showing with 9 additions and 3 deletions.
  1. +9 −3 ci/ci_build.rb
View
@@ -64,13 +64,15 @@ def rake(*tasks)
puts "[CruiseControl] Building ActionMailer"
puts
build_results[:actionmailer] = rake 'test'
+ build_results[:actionmailer_isolated] = rake 'test:isolated'
end
cd "#{root_dir}/activemodel" do
puts
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,28 +81,32 @@ def rake(*tasks)
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"
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

0 comments on commit 86df107

Please sign in to comment.