É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 <[email protected]>
 Uploaders: Michael R. Crusoe <[email protected]>
 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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to