[DRE-commits] [ruby-bio] 04/11: do not exclude manually tests requiring network in ruby-tests.rb

Cédric Boutillier boutil at alioth.debian.org
Tue Aug 6 22:19:02 UTC 2013


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

boutil pushed a commit to branch master
in repository ruby-bio.

commit 14f47a3e6326f3da39ccad7525e673b18626cb03
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Aug 6 22:41:50 2013 +0200

    do not exclude manually tests requiring network in ruby-tests.rb
    
    They have been moved to a separate test/network directory
---
 debian/ruby-tests.rb |   15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 18b080b..a5de32e 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -2,17 +2,4 @@ if RUBY_VERSION >= '1.9.1'
   Encoding.default_external = "UTF-8"
 end
 
-#tests requiring an access to the Internet
-EXC_TESTS = [
-  "test/functional/bio/appl/test_blast.rb",
-  "test/functional/bio/io/test_togows.rb",
-  "test/functional/bio/io/test_pubmed.rb",
-  "test/functional/bio/appl/test_pts1.rb",
-  "test/functional/bio/appl/blast/test_remote.rb",
-  "test/functional/bio/io/test_ddbjrest.rb",
-  "test/functional/bio/io/test_ensembl.rb",
-  "test/functional/bio/test_command.rb"
-]
-
-$: << 'lib' << 'test' << '.'
-(Dir['test/{unit,functional}/**/test_*.rb'] - EXC_TESTS).each { |f| require f }
+Dir['test/{unit,functional}/**/test_*.rb'].each { |f| require f }

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



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