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

Re: Mandatory support for -nocheck in DEB_BUILD_OPTIONS

On Tue, 6 Nov 2007 23:03:54 +0100
Gabor Gombas <gombasg@sztaki.hu> wrote:

> On Tue, Nov 06, 2007 at 08:08:03PM +0000, Neil Williams wrote:
> > What about:
> > 
> > "Packages that run a test suite during the default build must support
> > omitting the tests either upon detecting cross-compiling using
> > dpkg-architecture or when -nocheck is specified in DEB_BUILD_OPTIONS."
> If a package can handle cross-compilation properly then it will skip
> tests in the testsuite that would require to run compiled binaries. So
> cross-compiling in itself should not be a reason to omit the test suite.
> Packages should just check for -nocheck; adding -nocheck to
> DEB_BUILD_OPTIONS should be the job of the cross-compiling environment.

It is.

All I want is that packages omit the test suite when cross compiling.
If that is done by detecting the cross compiler, that's OK because the
cross compiling environment sets -nocheck anyway.


Neil Williams

Attachment: pgpmcuo4B2Uxw.pgp
Description: PGP signature

Reply to: