Chris Lamb: > Chris Lamb wrote: > >> Patch attached: > […] >> … but this naturally results in a huge number of testsuite failures as >> the test templates use format 1.0 and thus violate the tag. Changing >> these templates to use the 3.x series results in other test-specific >> issues. Any pointers? :) >
If the 1.0 format is formally deprecated, then ideally the test suite would default to a supported (non-deprecated) format instead. I assume 3.0 (native) would be easiest to do here (given the current default is the native version of 1.0). Once the default is handled, then the rest have to be dealt with one at the time. Possible over more than one release. > Is suppose it would be too horrible to make emission of this tag > require $ENV{'LINTIAN_TEST_ROOT'} to be set... > > > Regards, > I cannot recommend it (but nor will I stop you) as lintian now behaves different based on whether it is being tested or not. Personally, I have found it useful to be able to run lintian directly on a test artefact for debugging purposes. This would be harder to reason about if lintian behaves differently when it is being tested and when it isn't. Rhetorical question: How would we write a test for that tag if lintian refuses to emit the tag in the test? Thanks, ~Niels