Permalink
Browse files

Merge pull request #11046 from arunagw/verbose_mode_on

Verbose mode on when running tests
  • Loading branch information...
2 parents 364500d + d88b390 commit f02d4ddc99ad70d1bd50ff70d37aed5f9cf49398 @carlosantoniodasilva carlosantoniodasilva committed Jun 25, 2013
Showing with 7 additions and 5 deletions.
  1. +1 −1 actionmailer/Rakefile
  2. +1 −1 actionpack/Rakefile
  3. +3 −1 actionview/Rakefile
  4. +1 −1 activerecord/Rakefile
  5. +1 −1 activesupport/Rakefile
View
2 actionmailer/Rakefile
@@ -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
2 actionpack/Rakefile
@@ -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
4 actionview/Rakefile
@@ -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
@@ -39,6 +39,8 @@ desc 'ActiveRecord Integration Tests'
Rake::TestTask.new(:test_active_record_integration) do |t|
t.libs << 'test'
t.test_files = Dir.glob("test/activerecord/*_test.rb")
+ t.warning = true
+ t.verbose = true
end
spec = eval(File.read('actionview.gemspec'))
View
2 activerecord/Rakefile
@@ -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
2 activesupport/Rakefile
@@ -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

0 comments on commit f02d4dd

Please sign in to comment.