提交 bfe85ae0 编写于 作者: J Jeremy Kemper

Add explicit test task


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 6e56cc01
......@@ -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|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册