Re: Mandatory support for -nocheck in DEB_BUILD_OPTIONS
On Tue, Nov 06, 2007 at 05:47:17PM +0000, Neil Williams wrote:
> Making the last stage optional means that -nocheck achieves nothing,
> IMHO. If the maintainer chooses to allow 'make check' during the build,
> I believe that Policy should stipulate that the maintainer must ensure
> that 'make check' can be skipped when appropriate. I use make check in
> some of my own packages, it is useful on things like the autobuilders.
> However, if Debian is ever to cross-build successfully, EVERY test
> suite that executes compiled code MUST be skipped when cross-building.
> The simplest way to do that is to specify that cross-building must
> pass -nocheck in DEB_BUILD_OPTIONS and that all packages must obey
Atleast some packages now don't run the testsuite when
DEB_BUILD_GNU_TYPE != DEB_HOST_GNU_TYPE.
Are there any other reasons why testsuites shouldn't be run?