From 6f4d9ab823d68fb94a3fc33baae4e37fe7bdf1ce Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 21 Jun 2013 14:12:13 +0200 Subject: [PATCH 1/2] Adding verbose mode to test_with_ar_integration --- actionview/Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actionview/Rakefile b/actionview/Rakefile index 087b249dfe..f695ed3c4d 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -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')) From d88b390dfde606b7b9b2de77d8af50ca3ade43bd Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 21 Jun 2013 14:14:36 +0200 Subject: [PATCH 2/2] Adding verbose in isolated test. --- actionmailer/Rakefile | 2 +- actionpack/Rakefile | 2 +- actionview/Rakefile | 2 +- activerecord/Rakefile | 2 +- activesupport/Rakefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index d1134ba2b5..0865a4bfbe 100644 --- a/actionmailer/Rakefile +++ b/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 diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 567d7b589f..69fad6b579 100644 --- a/actionpack/Rakefile +++ b/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 diff --git a/actionview/Rakefile b/actionview/Rakefile index f695ed3c4d..0ea58b8f8b 100644 --- a/actionview/Rakefile +++ b/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 diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 136bb1dfbc..c8795a0961 100644 --- a/activerecord/Rakefile +++ b/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 diff --git a/activesupport/Rakefile b/activesupport/Rakefile index f50225a9f0..d77f47967e 100644 --- a/activesupport/Rakefile +++ b/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