Package: dh-python Version: 5.20221122 Severity: wishlist
Dear maintainers,Too often, a mistake or a misconfiguration leads to no tests being detected when trying to run the upstream testsuite.
When this happens, the result of the test command typically looks like "Ran 0 tests in 0.000s".
I thought we could catch this via Lintian and warn people, but I just realised Lintian does not have access to the build log.
This means if we want people to be aware of what, in my opinion, is a build failure, it should be done via pybuild.
As such, it would be nice if pybuild considered this case as a failure and exited if it happens. We probably will need to do a MBF beforehand though, as I'm sure it happens in tons of packages.
If there are no tests for real, I think it's OK to ask people to disable them altogether :)
Cheers, -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org ⠈⠳⣄
OpenPGP_0xE1E5457C8BAD4113.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature