don't run AR tests for non-sqlite3

This commit is contained in:
Charlie Somerville
2013-08-06 23:53:35 -07:00
parent 2b02d0daf7
commit 087bdaf5f8

View File

@@ -43,9 +43,15 @@ task :default => :test
desc 'Run mysql, sqlite, and postgresql tests'
task :test do
tasks = defined?(JRUBY_VERSION) ?
%w(test_jdbcmysql test_jdbcsqlite3 test_jdbcpostgresql) :
%w(test_mysql test_sqlite3 test_postgresql)
# We won't bother running all the tests for the different databases.
# We'll just use SQLite
#
# tasks = defined?(JRUBY_VERSION) ?
# %w(test_jdbcmysql test_jdbcsqlite3 test_jdbcpostgresql) :
# %w(test_mysql test_sqlite3 test_postgresql)
#
tasks = ["test_sqlite3"]
run_without_aborting(*tasks)
end