Having in debian/control: Testsuite: autopkgtest-pkg-python, autopkgtest-pkg-pybuild tests two different things, and having both is nice. However it seems autopkgtest doesn't consider the field can have multiple values, it only runs one of them - or actually it might fallback to a default test, because it doesn't recognize the field value. Code concerned is in lib/testdesc.py This won't run: https://sources.debian.org/src/python-keycloak/3.3.0+dfsg-2/debian/control/?hl=30#L30
Hi Jérémy, Ack. Indeed, autopkgtest doesn't look at d/control at all. Both autopkgtest-pkg-python and autopkgtest-pkg-pybuild are things that autodep8 deals with and it needs to do the right thing. Reassigning. Paul
Hi,
This seems to be problematic (note the "^" and "$" in the expression):
detect_by_control_field() {
local pkgtype="$1"
[ -f debian/control ] &&
grep-dctrl --quiet \
-F XS-Testsuite,Testsuite \
-r "^autopkgtest-pkg-$packagetype\$" debian/control
}
Paul
Hello, Bug #1061620 in autodep8 reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/ci-team/autodep8/-/commit/b67c905629a444058fd02bd8717bc8fc2e7d12e7 ------------------------------------------------------------------------ Add support for multiple autopkgtest-pkg-$TYPE in Testsuite: Those must be passed as a comma-separated list, e.g.: Testsuite: autopkgtest-pkg-foo, autopkgtest-pkg-bar Closes: #1061620 Gbp-Dch: full ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1061620
Control: forwarded -1 https://salsa.debian.org/ci-team/autodep8/-/merge_requests/33 Fair enough. I have a proposed fix for this here: https://salsa.debian.org/ci-team/autodep8/-/merge_requests/33
Hello, Bug #1061620 in autodep8 reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/ci-team/autodep8/-/commit/1e9feea24d7958bead67439f61b78c557b5ca22c ------------------------------------------------------------------------ Add support for multiple autopkgtest-pkg-$TYPE in Testsuite: Those must be passed as a comma-separated list, e.g.: Testsuite: autopkgtest-pkg-foo, autopkgtest-pkg-bar Closes: #1061620 Gbp-Dch: full ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1061620