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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running unittest on build?
On Fri, Jan 11, 2008 at 08:27:22PM +0100, Vincent Bernat wrote: Hi ! Should we run unittest when building a python package? The main drawback is that we need to add more build-dependencies. You could try autopkgtest. Aside from reducing build dependencies, you can also re-test the package as the dependencies are upgraded. -- Modularise. Use subroutines. - The Elements of Programming Style (Kernighan Plauger) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Brian Sutherland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]