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

Re: Running unittest on build?



On Fri, Jan 11, 2008, Vincent Bernat wrote:
> Should we run unittest when building a python package? The main drawback
> is that we need to add more build-dependencies.

 I think it's a good idea; if you think the build-deps for the test
 suite are too large to be in Build-Depends, perhaps you can simply rely
 on them being installed on your machine and run the testsuite but
 ignore failures:
    run_testsuite || true
 but generally packages have the bdeps for the testsuite they run.

 Also, make sure you honor nocheck in DEB_BUILD_OPTS.

   Cheers,
-- 
Loïc Minier


Reply to: