The long tag description of testsuite-autopkgtest-missing suggests that they have to simply add the field Testsuite:autopkgtest to debian/control and everything is fixed.
But this is not the real fix. The real fix is to add a debian/tests/control *and* at least one test. I think the testsuite-autopkgtest-missing should not check whether the Testsuite:autopkgtest field is present in the dsc because lintian can easily be fooled by maintainers who add that field to debian/control directly (which they shouldn't do). Instead the test should check for existence of debian/tests/control *and* of at least one non-empty test file referenced by the control file. Furthermore the text of testsuite-autopkgtest-missing has to be fixed as Raphaƫl already pointed out or otherwise maintainers will just add the field to debian/control and think they are done with it. Lastly, there should be a new tag for when the Testsuite:autopkgtest is set in debian/control. This should not be done because the field is added to the final .dsc by dpkg-source. This seems to be a common problem (331 pages of hits): https://codesearch.debian.net/search?q=(%3Fm)^Testsuite%3A+path%3Adebian%2Fcontrol Thanks! cheers, josch
signature.asc
Description: signature