diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-06 13:30:38 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-06 13:32:07 -0800 |
commit | 49afe58d0b25a86cb47386071001ab7108bc5e24 (patch) | |
tree | 3ba5ae5337b5815912be1142df6570338d46ce73 /activerecord | |
parent | a5c98bb0635ac600a657d3fc8608dbdf4f9174e9 (diff) | |
download | rails-49afe58d0b25a86cb47386071001ab7108bc5e24.tar.gz rails-49afe58d0b25a86cb47386071001ab7108bc5e24.tar.bz2 rails-49afe58d0b25a86cb47386071001ab7108bc5e24.zip |
Test jdbc adapters by default on jruby
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 1c7e2603ee..8b3b97bac4 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -30,7 +30,9 @@ desc 'Run mysql, sqlite, and postgresql tests by default' task :default => :test desc 'Run mysql, sqlite, and postgresql tests' -task :test => %w(test_mysql test_sqlite3 test_postgresql) +task :test => defined?(JRUBY_VERSION) ? + %w(test_jdbcmysql test_jdbcsqlite3 test_jdbcpostgresql) : + %w(test_mysql test_sqlite3 test_postgresql) for adapter in %w( mysql postgresql sqlite sqlite3 firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ) Rake::TestTask.new("test_#{adapter}") { |t| |