This package has debian/tests as a "file". And apparently the logic in
`resolve_path` works in a way that when this happens, it switches to resolving
via parent directory.
So resolve_path('debian/tests/control') transforms into 'debian/control' for this
particular package.
I've opened an MR to handle this very special case and will merge it after pipeline
passes (change is simple).
The description states
"""
Explanation: The autopackage test suite does not define any tests via
either the <code>Tests</code> field or the <code>Test-Command</code>
field.
See-Also: https://salsa.debian.org/ci-team/autopkgtest/tree/master/doc/README.package-tests.rst
"""
And this is the code in question
163 $self->pointed_hint('no-tests', $section_pointer)
164 unless $section->declares('Tests') || $section->declares('Test-Command');
So this means it flags things that *have* a d/t/control but do not have tests declared there. I just
tried with some random stuff written into d/t/control and the package does not seem to even *build*
with such a configuration.
So I suppose this is a redundant tag and can simply be dropped. Instead we could have a new tag for
flagging packages without autopkgtests.
All that said, I am closing this bug report since the original concern is not an actual issue.
Best,
Nilesh