#1123548 lintian: check validity of autopkgtest Architecture field

#1123548#5
Date:
2025-12-17 17:34:41 UTC
From:
To:
Dear Lintian Maintainers

I've seen more than one package that had

Architecture: [!armhf]

and similar, in debian/tests/control.

This syntax is invalid, and causes the affected test not to be run on
any architecture.  Unfortunately, this seems to make the tests pass as
the maintainer intended, and goes unnoticed.

Please add a Lintian check for the autopkgtest Architecture field.

Regards
Graham


PS: I noticed a similar bug #1012235 already filed.  Perhaps these
bugs should be merged into  some general validity checks of
/debian/tests/control