mirror of
https://github.com/github/rails.git
synced 2026-01-30 16:58:15 -05:00
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:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user