Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merge rakefile changes to prerelease

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 3311953d3ff4eda2d4d52218bd9e09b3ea51f134 1 parent ce0653b
@NZKoz NZKoz authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 railties/Rakefile
View
11 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
Please sign in to comment.
Something went wrong with that request. Please try again.