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

Re: Running tests at build time?



Adam D. Barratt wrote:

> On Sat, December 26, 2009 22:09, Raphael Geissert wrote:
>> I was wondering why the test suite is not run at build time?
>>
>> It would ensure that no lintian release fails the test suite and help
>> find regressions caused by other packages during the archive-wide
>> rebuilds.
> 
> For one thing, we'd either need a way of flagging the failure of certain
> tests as not being fatal or to rework the libbaz legacy testset so that
> that it doesn't fail on !i386.  I've discussed the latter with both Colin
> and Russ in the past but we never came up with a solution that didn't have
> problems of its own.
> 
> [We should move libbaz in to a set of proper new-style tests, but that
> still leaves the question of how we test tags flagging code that's
> sufficiently broken that the testset won't actually compile on most
> architectures].

I just had this idea of making it Architecture: i386 and let runtests
recognise dpkg-bp's failure when trying to build a package that doesn't
have the host architecture listed on the Arch field.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



Reply to: