1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Adding verbose in isolated test.

This commit is contained in:
Arun Agrawal 2013-06-21 14:14:36 +02:00
parent 6f4d9ab823
commit d88b390dfd
5 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/**/*_test.rb").all? do |file|
sh(ruby, '-Ilib:test', file)
sh(ruby, '-w', '-Ilib:test', file)
end or raise "Failures"
end
end

View file

@ -24,7 +24,7 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/{abstract,controller,dispatch}/**/*_test.rb").all? do |file|
sh(ruby, '-Ilib:test', file)
sh(ruby, '-w', '-Ilib:test', file)
end or raise "Failures"
end
end

View file

@ -25,7 +25,7 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/{active_record,template}/**/*_test.rb").all? do |file|
sh(ruby, '-Ilib:test', file)
sh(ruby, '-w', '-Ilib:test', file)
end or raise "Failures"
end

View file

@ -62,7 +62,7 @@ end
(Dir["test/cases/**/*_test.rb"].reject {
|x| x =~ /\/adapters\//
} + Dir["test/cases/adapters/#{adapter_short}/**/*_test.rb"]).all? do |file|
sh(ruby, "-Itest", file)
sh(ruby, '-w' ,"-Itest", file)
end or raise "Failures"
end

View file

@ -14,7 +14,7 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/**/*_test.rb").all? do |file|
sh(ruby, '-Ilib:test', file)
sh(ruby, '-w', '-Ilib:test', file)
end or raise "Failures"
end
end