Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test jdbc adapters by default on jruby

  • Loading branch information...
commit 49afe58d0b25a86cb47386071001ab7108bc5e24 1 parent a5c98bb
@jeremy jeremy authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 activerecord/Rakefile
View
4 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|
Please sign in to comment.
Something went wrong with that request. Please try again.