[DRE-commits] [rails] 04/13: Run ActiveRecord tests

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Mar 4 18:31:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository rails.

commit ca9d6c98b61f23c0184954612aea4bfe3dd50677
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Mar 3 19:15:16 2016 -0300

    Run ActiveRecord tests
    
    Also force the random seed to avoid random failures, and run tests in
    verbose mode.
---
 debian/ruby-tests.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 7eb49ac..52cacd7 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -19,7 +19,7 @@ results = {}
   'actionview'    => 'test',
   #'activejob'     => 'test', # FIXME MISSING DEPENDENCIES
   'activemodel'   => 'test',
-  #'activerecord'  => 'test:sqlite3', # FIXME BROKEN
+  'activerecord'  => 'sqlite3:test', # FIXME SEVERAL TESTS BEING SKIPPING
   #'activesupport' => 'test', # FIXME BROKEN
   #'railties'      => 'test', # FIXME BROKEN
 }.each do |component,tasks|
@@ -32,7 +32,7 @@ results = {}
       puts
 
       puts "cd #{component}"
-      results["#{component}:#{task}"] = run("#{ruby} -S rake #{task}")
+      results["#{component}:#{task}"] = run("TESTOPTS='--seed=0 --verbose' #{ruby} -S rake #{task}")
       puts 'cd -'
     end
   end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rails.git



More information about the Pkg-ruby-extras-commits mailing list