diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-06-25 15:15:43 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-06-25 15:15:43 -0700 |
commit | f02d4ddc99ad70d1bd50ff70d37aed5f9cf49398 (patch) | |
tree | fabcefb2b324f81784dd7846ecb1e3a634368554 | |
parent | 364500d9059640e4558c0c7c61aa757e63c8721a (diff) | |
parent | d88b390dfde606b7b9b2de77d8af50ca3ade43bd (diff) | |
download | rails-f02d4ddc99ad70d1bd50ff70d37aed5f9cf49398.tar.gz rails-f02d4ddc99ad70d1bd50ff70d37aed5f9cf49398.tar.bz2 rails-f02d4ddc99ad70d1bd50ff70d37aed5f9cf49398.zip |
Merge pull request #11046 from arunagw/verbose_mode_on
Verbose mode on when running tests
-rw-r--r-- | actionmailer/Rakefile | 2 | ||||
-rw-r--r-- | actionpack/Rakefile | 2 | ||||
-rw-r--r-- | actionview/Rakefile | 4 | ||||
-rw-r--r-- | activerecord/Rakefile | 2 | ||||
-rw-r--r-- | activesupport/Rakefile | 2 |
5 files changed, 7 insertions, 5 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 457f3b7838..5d5539df1d 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 f858d10ae8..5433e584af 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 7253c761d0..ee670b5cc0 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 @@ -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')) diff --git a/activerecord/Rakefile b/activerecord/Rakefile index df0193e1b5..18f03e6562 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 c5e8e382c9..99770bace9 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 |