Re:Making Debian Responsible For Its Actions
by caf on Tuesday September 28, 2010 @10:01AM
(#1735686)
Perhaps a compromise would be to have the package-install-time unit tests run in "testing" and "unstable", but be turned off for "stable"?
Re:Making Debian Responsible For Its Actions
by btilly on Tuesday September 28, 2010 @10:41AM
(#1735806)
That would be worlds better than what we now have. But I'd like the option to turn it on. (And I'm sure others want the option to turn it off.)
Re:Making Debian Responsible For Its Actions
by phaylon on Tuesday September 28, 2010 @11:45AM
(#1736031)
I'm not sure what the -dbg packages in Debian/Ubuntu are strictly for, but wouldn't this be a case for it? If one could post-run the tests by saying "apttest Foo" or something along those things, integration into utilities to automatically install test packages and run them shouldn't be a huge hurdle.
If you're installing item after item, then the odds are that at some point you're going to install the dependencies, and after that the tests will pass and mean nothing. So you keep on wiping, installing one thing, and testing. Fine. Now you have cases where package A conflicts with package B and you never find it. And now what? The number of combinations to test is incredibly large, and nobody is likely to have tested your exact system.
As for the unit tests, make them available, make them optional. That's OK by me. I'd opt to use them. Particularly since I learned the hard way that most of what I want in CPAN either isn't in Debian, or isn't up to date there. So I install things directly from CPAN. That means that when I install from Debian, there is a possibility of library conflict that I want to notice.