diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-11-02 03:34:03 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-11-02 03:34:03 +0000 |
commit | e7eae2bd9bc81e8c81c2918155a24c3729315277 (patch) | |
tree | e65176b0dcf601f812c4e9950e535f232bd9a007 /railties/Rakefile | |
parent | 5ba85d84fb3d18d28a3a6bc801286aad09f42014 (diff) | |
download | rails-e7eae2bd9bc81e8c81c2918155a24c3729315277.tar.gz rails-e7eae2bd9bc81e8c81c2918155a24c3729315277.tar.bz2 rails-e7eae2bd9bc81e8c81c2918155a24c3729315277.zip |
Interim test task for railties, the existing one fails suspiciously.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 0c659c6807..85c826408c 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -21,7 +21,16 @@ RUBY_FORGE_PROJECT = "rails" RUBY_FORGE_USER = "webster132" -Rake::TestTask.new("test") do |t| +## This is required until the regular test task +## below passes. It's not ideal, but at least +## we can see the failures +task :test do + Dir['test/**/*_test.rb'].all? do |file| + system("ruby #{file}") + end or raise "Failures" +end + +Rake::TestTask.new("regular_test") do |t| t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.warning = true |