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

Re: Not running tests because tests miss source code is not useful



On 10/7/21 4:40 AM, Pirate Praveen wrote:
What you are proposing would require the package maintainer to adapt these tests to versions available (many times with different API versions) in Debian and the easier choice is disabling tests.

I haven't looked into the specifics of this situation, but in general, tests should be run against the same versions of dependencies that the actual code will use, for what should be obvious reasons. If Debian has the dependencies with different API versions, then it's all the more important that the tests run against the Debian versions of the dependencies.

Running tests against vendored dependencies one isn't going to use at run-time is of limited usefulness. Presumably upstream is already running those tests against the vendored dependencies, so the odds of Debian finding breakage in the _source_ at packaging time is low.

--
Richard

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: