[PATCH 2 of 2] tests: run check-code with warnings and maintain a whitelist

Matt Mackall mpm at selenic.com
Wed Nov 23 11:57:31 CST 2011


On Wed, 2011-11-23 at 03:14 +0100, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1322014464 -3600
> # Node ID 7ca664237e0d0f6a42c738561a362374b5eb5ebb
> # Parent  3f3f187783e65b5e3ff34cbbc8726985d9363c77
> tests: run check-code with warnings and maintain a whitelist
> 
> check-code has fine warning checks, but they are a bit noisy and nobody used
> them.
> 
> Now the warnings will be run in the test suite, where a list of accepted
> warnings will be maintained.
> 
> Those who introduce or touch a line with a warning will now have to update the
> whitelist ... or fix the warning.

I've queued these, thanks. I've dropped the .out file too.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list