Skip to content

Commit

Permalink
Adding verbose in isolated test.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Jun 21, 2013
1 parent 6f4d9ab commit d88b390
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion actionmailer/Rakefile
Expand Up @@ -16,7 +16,7 @@ namespace :test do
task :isolated do task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/**/*_test.rb").all? do |file| Dir.glob("test/**/*_test.rb").all? do |file|
sh(ruby, '-Ilib:test', file) sh(ruby, '-w', '-Ilib:test', file)
end or raise "Failures" end or raise "Failures"
end end
end end
Expand Down
2 changes: 1 addition & 1 deletion actionpack/Rakefile
Expand Up @@ -24,7 +24,7 @@ namespace :test do
task :isolated do task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/{abstract,controller,dispatch}/**/*_test.rb").all? do |file| 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 or raise "Failures"
end end
end end
Expand Down
2 changes: 1 addition & 1 deletion actionview/Rakefile
Expand Up @@ -25,7 +25,7 @@ namespace :test do
task :isolated do task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/{active_record,template}/**/*_test.rb").all? do |file| 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 or raise "Failures"
end end


Expand Down
2 changes: 1 addition & 1 deletion activerecord/Rakefile
Expand Up @@ -62,7 +62,7 @@ end
(Dir["test/cases/**/*_test.rb"].reject { (Dir["test/cases/**/*_test.rb"].reject {
|x| x =~ /\/adapters\// |x| x =~ /\/adapters\//
} + Dir["test/cases/adapters/#{adapter_short}/**/*_test.rb"]).all? do |file| } + 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 or raise "Failures"
end end


Expand Down
2 changes: 1 addition & 1 deletion activesupport/Rakefile
Expand Up @@ -14,7 +14,7 @@ namespace :test do
task :isolated do task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/**/*_test.rb").all? do |file| Dir.glob("test/**/*_test.rb").all? do |file|
sh(ruby, '-Ilib:test', file) sh(ruby, '-w', '-Ilib:test', file)
end or raise "Failures" end or raise "Failures"
end end
end end
Expand Down

0 comments on commit d88b390

Please sign in to comment.