[Pkg-electronics-devel] Bug#1134529: cocotb: uses 'Testsuite: autopkgtest-pkg-pybuild' without build-time tests
Jeroen Ploemen
jcfp at debian.org
Tue Apr 21 12:08:16 BST 2026
Package: cocotb
Version: 2.0.1-2.1
X-Debbugs-CC: aelmahmoudy at users.sourceforge.net
Hi,
cocotb sets 'Testsuite: autopkgtest-pkg-pybuild' in d/control, which
is designed to run the build-time tests in an autopkgtest context.
Except the package doesn't actually run any tests on build, which
turns this into the equivalent of running /bin/true as an autopkgtest.
Please either remove the field from d/control, or start running tests
on build that autopkgtest-pkg-pybuild can put to good use.
Log excerpt from the salsa CI at [1] demonstrating the problem:
autopkgtest [03:45:17]: test pybuild-autopkgtest: pybuild-autopkgtest
autopkgtest [03:45:17]: test pybuild-autopkgtest: [-----------------------
pybuild-autopkgtest
W: pybuild base:328: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /tmp/autopkgtest-lxc.ph2j6hcr/downtmp/autopkgtest_tmp/build; python3.14 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN
W: pybuild base:328: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /tmp/autopkgtest-lxc.ph2j6hcr/downtmp/autopkgtest_tmp/build; python3.13 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN
autopkgtest [03:45:18]: test pybuild-autopkgtest: -----------------------]
[1]https://salsa.debian.org/electronics-team/cocotb/-/jobs/9443708
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20260421/8769f73c/attachment.sig>
More information about the Pkg-electronics-devel
mailing list