tags 654985 pending thanks Hi!
I propose to exclude all tests requiring an access to the network, with
the following patch, which is already in the repository.
Thanks!
Best wishes,
Cédric
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 }
signature.asc
Description: Digital signature

