[DRE-commits] [SCM] ruby-bio.git branch, master, updated. upstream/1.4.1-12-g650c1c6

Cédric Boutillier cedric.boutillier at gmail.com
Fri Feb 17 15:05:24 UTC 2012


The following commit has been merged in the master branch:
commit 1d3fe798ca90dc7adcf1f3bee609dbee6feddeef
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Fri Feb 17 15:41:42 2012 +0100

    exclude tests requiring a network access

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index bc13ba3..a063009 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -2,5 +2,17 @@ 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['{spec,test}/**/test_*.rb'].each { |f| require f }
+(Dir['{spec,test}/**/test_*.rb'] - EXC_TESTS).each { |f| require f }

-- 
ruby-bio.git



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