Browse files

Add explicit test task

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 6e56cc0 commit bfe85ae0e80ff1dcf43c81543837478b94c56b0a @jeremy jeremy committed Oct 15, 2007
Showing with 4 additions and 3 deletions.
  1. +4 −3 activerecord/Rakefile
View
7 activerecord/Rakefile
@@ -22,10 +22,11 @@ PKG_FILES = FileList[
].exclude(/\bCVS\b|~$/)
-desc "Default Task"
-task :default => [ :test_mysql, :test_sqlite, :test_sqlite3, :test_postgresql ]
+desc 'Run mysql, sqlite, and postgresql tests by default'
+task :default => :test
-# Run the unit tests
+desc 'Run mysql, sqlite, and postgresql tests'
+task :test => %w(test_mysql test_sqlite test_sqlite3 test_postgresql)
for adapter in %w( mysql postgresql sqlite sqlite3 firebird sqlserver sqlserver_odbc db2 oracle sybase openbase frontbase )
Rake::TestTask.new("test_#{adapter}") { |t|

0 comments on commit bfe85ae

Please sign in to comment.