[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Test suite checker



Hi lintian maintainers,

I started to work on a patch for lintian to verify whether a package
have a functional test suite. I intend to that to notify maintainers
about the importance to have this kind of tests in your packages, I
talked about it with some others DDs and some of them do not have any
idea what I am saying. I know this might be annoying, but I set the
severity as a wishlist. Nowadays, Debian CI covers almost 20% of the
source packages in archive, the idea here is to increase this number. 

I followed the contributing instructions, did my patch, but when I ran
all the test suite I broke many of the others tests. This occur because
most of the packages used in tests do not have Testsuite field in
d/control, so lintian (with my patch) started to emit a new info tag. I
saw that I can set a default variable to be used in all tests, but I
did not want to do that because my own test depends on a package
without Testsuite field. Then I thought two non-elegant options: add
"Testsuite: autopkgtest" in all broken tests or add this new tag to
expected tags lists. I do not like any of them and I was not able to
find other checker that tries to verify the existence of one optional
field. So I am here to ask you some help to find the best way to do it.

Thanks in advance :)
Cheers.  
-- 
Lucas Kanashiro

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: