Permalink
Browse files

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
  • Loading branch information...
1 parent 5ba85d8 commit e7eae2bd9bc81e8c81c2918155a24c3729315277 @NZKoz NZKoz committed Nov 2, 2006
Showing with 10 additions and 1 deletion.
  1. +10 −1 railties/Rakefile
View
@@ -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

0 comments on commit e7eae2b

Please sign in to comment.