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

Bug#512265: lintian: please encourage running test suites at build time



Package: lintian
Version: 2.1.6
Severity: wishlist

Hi everyone,

Thinking about how to improve the QA aspect of Debian I though it would be 
nice if lintian encouraged the use of test suites if they exist. This should 
hopefully help in guaranteeing the functionality of the packages during their 
existence in Debian. Of course the benefits of running a test suite are only 
helpful when the package is built in different archs (assuming the uploader 
*does* test the package in their box, which means one less arch to test it 
under) or when a package rebuild occurs (either archive wide, or a binNMU).

I'm not yet sure how to implent it, basically I've reduced it to two options:
a) Only warn if a well known kind of test suite exists (e.g. perl's 
test_harness, *units, etc).
b) Do as a) plus a more FP-prone check like dh_auto_test's.

And as for knowing whether the test suite is run:
* dh, dh build, or dh_auto_test are run.
* any occurrence of m/MAKE.{1,60}(test|check)/i  in debian/rules.
* any other test suite-specific way to run the tests.

Comments, suggestions, volunteers (to for example help knowing about test 
suite systems, as I do plan to work on this check)?

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net

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


Reply to: