[med-svn] [Git][med-team/libbio-db-ncbihelper-perl][master] 2 commits: move to explicit autodep8-perl

Étienne Mollier gitlab at salsa.debian.org
Sun Feb 21 18:37:49 GMT 2021



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


Commits:
bde35697 by Étienne Mollier at 2021-02-21T19:31:11+01:00
move to explicit autodep8-perl

The point of the package is to download resources on the Internet.

This change allows us to make sure the smoke test is run with
needs-internet restriction.  When enforcing no Internet access,
the entire smoke test is skipped, making it (more than) superficial
although not marked as such, which might lead to undue bonuses in
specific cases.

- - - - -
68fea14f by Étienne Mollier at 2021-02-21T19:35:48+01:00
remove smoke-env which forbid Internet use

On the contrary, the test needs internet to be relevant.

- - - - -


3 changed files:

- debian/control
- + debian/tests/control
- − debian/tests/pkg-perl/smoke-env


Changes:

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


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,24 @@
+# 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, needs-internet
+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
+
+Test-Command: /usr/share/pkg-perl-autopkgtest/runner heavy-deps
+Depends: @, pkg-perl-autopkgtest, pkg-perl-autopkgtest-heavy
+Restrictions: skippable, superficial
+Features: test-name=autodep8-perl-heavy


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



View it on GitLab: https://salsa.debian.org/med-team/libbio-db-ncbihelper-perl/-/compare/eb48eccc8c58a179140f3cf79c4901531aa932fb...68fea14f4ab3f5d0cfe503a61e1ae4152b81c2ef

-- 
View it on GitLab: https://salsa.debian.org/med-team/libbio-db-ncbihelper-perl/-/compare/eb48eccc8c58a179140f3cf79c4901531aa932fb...68fea14f4ab3f5d0cfe503a61e1ae4152b81c2ef
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/20210221/c95d1726/attachment-0001.htm>


More information about the debian-med-commit mailing list