[med-svn] [Git][med-team/libbio-db-ncbihelper-perl][master] 2 commits: test for Internet before declaring number of tests that must pass

Michael R. Crusoe gitlab at salsa.debian.org
Sat Dec 28 09:59:23 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / libbio-db-ncbihelper-perl


Commits:
694025b7 by Michael R. Crusoe at 2019-12-28T09:45:45Z
test for Internet before declaring number of tests that must pass

- - - - -
496b5a4f by Michael R. Crusoe at 2019-12-28T09:48:28Z
be more explicit about dependencies

- - - - -


3 changed files:

- debian/control
- + debian/patches/fix_tests
- + debian/patches/series


Changes:

=====================================
debian/control
=====================================
@@ -27,6 +27,7 @@ Architecture: all
 Depends: ${misc:Depends},
          ${perl:Depends},
          libbio-perl-perl,
+         libbio-asn1-entrezgene-perl,
          libcache-cache-perl,
          libcgi-pm-perl,
          libhttp-message-perl,


=====================================
debian/patches/fix_tests
=====================================
@@ -0,0 +1,62 @@
+From: Michael R. Crusoe <michael.crusoe at gmail.com>
+Subject: test for Internet before declaring number of tests that must pass
+--- libbio-db-ncbihelper-perl.orig/t/EntrezGene.t
++++ libbio-db-ncbihelper-perl/t/EntrezGene.t
+@@ -4,8 +4,8 @@
+ use strict;
+ 
+ BEGIN {
+-		use Test::Most tests => 9;
+ 		use Test::RequiresInternet;
++		use Test::Most tests => 9;
+ 		use_ok('Bio::SeqIO::entrezgene');
+ 		use_ok('Bio::DB::EntrezGene');
+ }
+--- libbio-db-ncbihelper-perl.orig/t/GenBank.t
++++ libbio-db-ncbihelper-perl/t/GenBank.t
+@@ -4,8 +4,8 @@
+ use strict;
+ 
+ BEGIN {
+-	use Test::Most tests => 44;
+ 	use Test::RequiresInternet;
++	use Test::Most tests => 44;
+ 	use_ok('Bio::DB::GenBank');
+ }
+ 
+--- libbio-db-ncbihelper-perl.orig/t/GenPept.t
++++ libbio-db-ncbihelper-perl/t/GenPept.t
+@@ -4,8 +4,8 @@
+ use strict;
+ 
+ BEGIN {
+-	use Test::Most tests => 21;
+ 	use Test::RequiresInternet;
++	use Test::Most tests => 21;
+ 	use_ok('Bio::DB::GenPept');
+ }
+ 
+--- libbio-db-ncbihelper-perl.orig/t/Query-Genbank.t
++++ libbio-db-ncbihelper-perl/t/Query-Genbank.t
+@@ -4,8 +4,8 @@
+ use strict;
+ 
+ BEGIN {
+-	use Test::Most tests => 18;
+ 	use Test::RequiresInternet;
++	use Test::Most tests => 18;
+ 
+ 	use_ok('Bio::DB::Query::GenBank');
+ 	use_ok('Bio::DB::GenBank');
+--- libbio-db-ncbihelper-perl.orig/t/RefSeq.t
++++ libbio-db-ncbihelper-perl/t/RefSeq.t
+@@ -4,8 +4,8 @@
+ use strict;
+ 
+ BEGIN {
+-    use Test::Most tests => 5;
+     use Test::RequiresInternet;
++    use Test::Most tests => 5;
+     use_ok('Bio::DB::GenBank');
+ }
+ 


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix_tests



View it on GitLab: https://salsa.debian.org/med-team/libbio-db-ncbihelper-perl/compare/05c8a957d95b5e1706da061cb4d9af8fe4aeb795...496b5a4f24556a96fca7d0d4d88e37adacbd2b2f

-- 
View it on GitLab: https://salsa.debian.org/med-team/libbio-db-ncbihelper-perl/compare/05c8a957d95b5e1706da061cb4d9af8fe4aeb795...496b5a4f24556a96fca7d0d4d88e37adacbd2b2f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191228/ed8b6f62/attachment-0001.html>


More information about the debian-med-commit mailing list