[med-svn] [Git][med-team/libbio-db-biofetch-perl][master] 4 commits: debian/rules: prevent tests to access the web

Étienne Mollier gitlab at salsa.debian.org
Mon Mar 1 18:49:25 GMT 2021



Étienne Mollier pushed to branch master at Debian Med / libbio-db-biofetch-perl


Commits:
26d81dbb by Étienne Mollier at 2021-03-01T19:33:33+01:00
debian/rules: prevent tests to access the web

- - - - -
2ecb738d by Étienne Mollier at 2021-03-01T19:38:14+01:00
prevent autodep8 perl test to access the web

this involves redefining the smoke test so that it is now marked as
superficial, since there are not any test run anymore with this
Internet oriented package.

- - - - -
59311a78 by Étienne Mollier at 2021-03-01T19:42:40+01:00
update changelog

- - - - -
b4c9e5f7 by Étienne Mollier at 2021-03-01T19:43:08+01:00
ready for upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/rules
- + debian/tests/control
- + debian/tests/pkg-perl/smoke-env


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,16 @@
-libbio-db-biofetch-perl (1.7.3-4) UNRELEASED; urgency=medium
+libbio-db-biofetch-perl (1.7.3-4) unstable; urgency=medium
 
+  [ Andreas Tille ]
   * Team upload.
   * Package is maintained by Debian Med team.
 
- -- Andreas Tille <tille at debian.org>  Sun, 28 Feb 2021 18:27:25 +0100
+  [ Étienne Mollier ]
+  * debian/rules: prevent tests to access the web.
+    Closes: #983238
+  * prevent autodep8 perl test to access the web in order to avoid triggering
+    transitions due to Internet issues, and mark the smoke test as superficial.
+
+ -- Étienne Mollier <etienne.mollier at mailoo.org>  Mon, 01 Mar 2021 19:42:54 +0100
 
 libbio-db-biofetch-perl (1.7.3-3) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -2,7 +2,6 @@ Source: libbio-db-biofetch-perl
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Michael R. Crusoe <crusoe at debian.org>
 Section: perl
-Testsuite: autopkgtest-pkg-perl
 Priority: optional
 Build-Depends: debhelper-compat (= 12),
                libbio-perl-perl,


=====================================
debian/rules
=====================================
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export NO_NETWORK_TESTING=1
+
 %:
 	dh $@
 


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,19 @@
+# Pulled from /usr/share/doc/pkg-perl-autopkgtest/examples/default-tests-control
+# This local copy is needed as there is no real point in running the smoke test
+# without Internet connexion, otherwise all tests are skipped, and the test ends
+# up passing while being more than superficial.
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps
+Depends: @, @builddeps@, pkg-perl-autopkgtest
+Restrictions: skippable, superficial
+Features: test-name=autodep8-perl-build-deps
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
+Depends: @, pkg-perl-autopkgtest
+Restrictions: skippable, superficial
+Features: test-name=autodep8-perl
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends
+Depends: @, pkg-perl-autopkgtest
+Restrictions: needs-recommends, skippable, superficial
+Features: test-name=autodep8-perl-recommends


=====================================
debian/tests/pkg-perl/smoke-env
=====================================
@@ -0,0 +1 @@
+NO_NETWORK_TESTING=1



View it on GitLab: https://salsa.debian.org/med-team/libbio-db-biofetch-perl/-/compare/a4bb17b8c6d5b5eec87fb424433eafcafc598a7c...b4c9e5f7c05c2476d1ca301caf135daac0281d59

-- 
View it on GitLab: https://salsa.debian.org/med-team/libbio-db-biofetch-perl/-/compare/a4bb17b8c6d5b5eec87fb424433eafcafc598a7c...b4c9e5f7c05c2476d1ca301caf135daac0281d59
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/20210301/e0ee6394/attachment-0001.htm>


More information about the debian-med-commit mailing list