From e7eae2bd9bc81e8c81c2918155a24c3729315277 Mon Sep 17 00:00:00 2001
From: Michael Koziarski <michael@koziarski.com>
Date: Thu, 2 Nov 2006 03:34:03 +0000
Subject: 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
---
 railties/Rakefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'railties/Rakefile')

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
-- 
cgit v1.2.3