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
This commit is contained in:
parent
5ba85d84fb
commit
e7eae2bd9b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue