Add explicit test task

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2007-10-15 00:10:09 +00:00
parent 6e56cc013f
commit bfe85ae0e8

View File

@@ -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|