From 087bdaf5f8053520ee75bf56ee84fa21b1733447 Mon Sep 17 00:00:00 2001 From: Charlie Somerville Date: Tue, 6 Aug 2013 23:53:35 -0700 Subject: [PATCH] don't run AR tests for non-sqlite3 --- activerecord/Rakefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 50210c02ce..cb80692429 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -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