Étienne Mollier pushed to branch master at Debian Med / libbio-db-embl-perl
Commits: 6c152e3d by Étienne Mollier at 2021-02-23T18:04:53+01:00 initialize changelog - - - - - 60b1b644 by Étienne Mollier at 2021-02-23T18:05:56+01:00 d/rules: make sure tests remain offline - - - - - 3f5a1c2a by Étienne Mollier at 2021-02-23T18:06:45+01:00 explicit offline autodep8 perl autopkgtest The smoke test to day relies on Internet access to be relevant. That would however hold a lot of potential for pain on maintenance, so I disable tests needing internet. As all tests are skipped, the smoke test must be marked superficial. I copy the definition of autodep8 perl tests in the regular d/t/control file to be able to mark the smoke test. - - - - - a54b99d2 by Étienne Mollier at 2021-02-23T18:26:33+01:00 update changelog and ready to upload - - - - - 5 changed files: - debian/changelog - debian/control - debian/rules - + debian/tests/control - + debian/tests/pkg-perl/smoke-env Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,14 @@ +libbio-db-embl-perl (1.7.4-4) unstable; urgency=medium + + * Team upload. + * d/rules: make sure tests remain offline + Closes: #978316 + * explicit offline autodep8 perl autopkgtest; this is required to mark the + smoke test as "superficial", since there are no offline tests done by this + autopkgtest. + + -- Étienne Mollier <[email protected]> Tue, 23 Feb 2021 18:22:06 +0100 + libbio-db-embl-perl (1.7.4-3) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -2,7 +2,6 @@ Source: libbio-db-embl-perl Maintainer: Debian Med Packaging Team <[email protected]> Uploaders: Michael R. Crusoe <[email protected]> Section: perl -Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper-compat (= 13), libbio-perl-perl, ===================================== debian/rules ===================================== @@ -1,4 +1,7 @@ #!/usr/bin/make -f +# do not run Test::RequiresInternet on buildd +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-embl-perl/-/compare/3b9e728cdb9051b59f946ed4c6262aa494fc01ae...a54b99d29c386c03092d11b25665363e49d9bbc1 -- View it on GitLab: https://salsa.debian.org/med-team/libbio-db-embl-perl/-/compare/3b9e728cdb9051b59f946ed4c6262aa494fc01ae...a54b99d29c386c03092d11b25665363e49d9bbc1 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
