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

Re: Build-time testing



On Feb 22, 2011, at 09:55 PM, Andrey Rahmatullin wrote:

>On Tue, Feb 22, 2011 at 09:47:20AM -0500, Barry Warsaw wrote:
>> It would be nice if dh auto-detected a setup.py (and/or missing Makefile)
>> and didn't run 'make test' in that case, so that the override_dh_auto_test
>> wasn't necessary.  Yah, I should create a bug and patch for that.

>Note that tests usually need more build-depends than the main packaging
>(which is in simple cases just a bunch of file operations), so enabling
>the tests for a package unfortunately involves manual expanding of
>build-depends.

Yep, but it's usually not so bad.  See my previous message about
computer-janitor.  Note that it's usually the case that you're copying some
Depends into Build-Depends.

>I would like to enable tests at least for packages I use, should I?

IMO, yes!  Test are a Good Thing, running them regularly are Even Better. :)

-Barry

Attachment: signature.asc
Description: PGP signature


Reply to: