[med-svn] [Git][med-team/libbio-db-ncbihelper-perl][master] 2 commits: d/rules: export NO_NETWORK_TESTING=1

Étienne Mollier gitlab at salsa.debian.org
Sun Feb 21 17:48:31 GMT 2021



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


Commits:
bb896873 by Étienne Mollier at 2021-02-21T18:25:39+01:00
d/rules: export NO_NETWORK_TESTING=1

This prevents the test suite to fetch resources on the Internet and
trigger build failures due to the mismatch in database index of one
of the tests.  See #983239.

- - - - -
c7f8fd34 by Étienne Mollier at 2021-02-21T18:43:07+01:00
add debian/tests/pkg-perl/smoke-env

This is done to export NO_NETWORK_TESTING=1 in the context of autodep8
autopkgtest, to make sure the test suite does not fetch ressources
from the Internet.  It might be interesting to provide a smoke test
variant with the needs-internet flag.

- - - - -


2 changed files:

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


Changes:

=====================================
debian/rules
=====================================
@@ -1,10 +1,7 @@
 #!/usr/bin/make -f
 
-ifneq (,$(DEB_MAINTAINER_MODE))
-NETWORK = --network
-else()
-export NO_NETWORK_TESTING
-endif
+# prevent the test suite to fetch resources on the Internet at build time.
+export NO_NETWORK_TESTING=1
 
 %:
 	dh $@


=====================================
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-ncbihelper-perl/-/compare/f38a806f86bdf8b617342749de9b8a6259756518...c7f8fd34be04590a372039df061d25aeb6ebfc30

-- 
View it on GitLab: https://salsa.debian.org/med-team/libbio-db-ncbihelper-perl/-/compare/f38a806f86bdf8b617342749de9b8a6259756518...c7f8fd34be04590a372039df061d25aeb6ebfc30
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/c8240cfa/attachment.htm>


More information about the debian-med-commit mailing list