[merge] Consider Warnings as errors when running 'make check'

Martin Pool mbp at canonical.com
Tue Oct 17 00:03:57 BST 2006


On 16 Oct 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:

> The attached patch builds on my 'remerge' changes. It changes 'make
> check' so that any warnings are converted into errors, which will cause
> the test suite to fail.
> 
> It builds on the earlier patch, because that is the only code that was
> using a deprecated interface.
> 
> I'd like to get this merged, because it helps ensure that when something
> is deprecated, it doesn't actually get called anywhere that is tested.

+1

One consequence is that this will sometimes not have the intended effect
- if 'python' is python2.3 then the option won't be passed when 2.4 is
reinvoked.  But since this is mostly for our use and for pqm autotests
it's not a big deal.

-- 
Martin




More information about the bazaar mailing list