Bug#898014: autopkgtest-pkg-python in Testsuite ignored if tests/control exists
Package: autopkgtest
Version: 5.3.1
Severity: wishlist
I have a package (remctl) that provides both Perl and Python bindings with
corresonding binary packages. I want to run autopkgtest-pkg-perl and
autopkgtest-pkg-python tests on the corresponding binary packages.
autodep8 can't see how to run Perl tests because the Perl module is in a
perl subdirectory, which isn't surprising, so just adding
autopkgtest-pkg-perl to the Testsuite control field didn't work for those
tests. I therefore manually created a debian/tests/control file with the
corresponding content, and that works fine (except for the smoke tests
because of the subdirectory thing, but I can work on that later).
Surprisingly, once I did that, the autopkgtest-pkg-python tests specified
via the Testsuite control field stopped running. That value was ignored
once a debian/tests/control file exists.
In retrospect, this makes sense given what I suspect to be the implementation
using autodep8, but it's unfortunate. If I explicitly list
autopkgtest-pkg-python in Testsuite, it would be nice to still generate and
run a test control file using autodep8 for it as well as the
manually-specified debian/tests/control file. (In other words, I would
like to run the merger of the tests in debian/tests/control plus the tests
corresponding to any autopkgtest-pkg-* entries in the Testsuite control
field.)
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages autopkgtest depends on:
ii apt-utils 1.6.1
ii libdpkg-perl 1.19.0.5
ii procps 2:3.3.14-1+b1
ii python3 3.6.5-3
ii python3-debian 0.1.32
Versions of packages autopkgtest recommends:
ii autodep8 0.12
Versions of packages autopkgtest suggests:
pn lxc <none>
pn lxd-client <none>
pn qemu-system <none>
pn qemu-utils <none>
ii schroot 1.6.10-4
-- no debconf information
Reply to: