aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-15 00:10:09 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-15 00:10:09 +0000
commitbfe85ae0e80ff1dcf43c81543837478b94c56b0a (patch)
tree6aa07891ecf0e3d75ce5dee68a319abd0eb19423 /activerecord/Rakefile
parent6e56cc013f92e3e345ec6c2f8d63ce5dd53474c7 (diff)
downloadrails-bfe85ae0e80ff1dcf43c81543837478b94c56b0a.tar.gz
rails-bfe85ae0e80ff1dcf43c81543837478b94c56b0a.tar.bz2
rails-bfe85ae0e80ff1dcf43c81543837478b94c56b0a.zip
Add explicit test task
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-xactiverecord/Rakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index e6d2ce4c8b..eee812aa6d 100755
--- a/activerecord/Rakefile
+++ b/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|