[med-svn] [Git][med-team/libtfbs-perl][master] Use smoke-skip to skip tests requiring network.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat Jan 24 18:22:32 GMT 2026
Bas Couwenberg pushed to branch master at Debian Med / libtfbs-perl
Commits:
f9ca5ef9 by Bas Couwenberg at 2026-01-24T19:22:03+01:00
Use smoke-skip to skip tests requiring network.
- - - - -
3 changed files:
- − debian/tests/control
- + debian/tests/pkg-perl/smoke-skip
- − debian/tests/run-unit-test
Changes:
=====================================
debian/tests/control deleted
=====================================
@@ -1,3 +0,0 @@
-Tests: run-unit-test
-Depends: @
-Restrictions: allow-stderr, skippable
=====================================
debian/tests/pkg-perl/smoke-skip
=====================================
@@ -0,0 +1,2 @@
+# Requires network
+t/04_DB_TRANSFAC.t
=====================================
debian/tests/run-unit-test deleted
=====================================
@@ -1,17 +0,0 @@
-#!/bin/sh -e
-
-pkg=libtfbs-perl
-
-if [ "$AUTOPKGTEST_TMP" = "" ] ; then
- AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
-fi
-cd $AUTOPKGTEST_TMP
-cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
-
-find . -name "*.gz" -exec gunzip \{\} \;
-
-# t/04_DB_TRANSFAC.t needs network access so this test is skipped
-TESTS=$(ls t/*.t | grep -v -e t/04_DB_TRANSFAC.t)
-
-prove --blib $TESTS Ext/t/*.t
-
View it on GitLab: https://salsa.debian.org/med-team/libtfbs-perl/-/commit/f9ca5ef90052ac82aab3706cd25fee1d1b449298
--
View it on GitLab: https://salsa.debian.org/med-team/libtfbs-perl/-/commit/f9ca5ef90052ac82aab3706cd25fee1d1b449298
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/20260124/e4a9ee63/attachment-0001.htm>
More information about the debian-med-commit
mailing list