Re: Mandatory support for -nocheck in DEB_BUILD_OPTIONS
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.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
Reply to: