bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1477 in lilypond: suppress output for expected warnings


From: lilypond
Subject: Re: Issue 1477 in lilypond: suppress output for expected warnings
Date: Fri, 23 Sep 2011 22:37:39 +0000

Updates:
        Labels: -Patch-countdown Patch-new

Comment #20 on issue 1477 by address@hidden: suppress output for expected warnings
http://code.google.com/p/lilypond/issues/detail?id=1477

I have now uploaded a new patch:
http://codereview.appspot.com/5037046/

I have changes the system a bit: Now a ly:expect-warning call corresponds to exactly ONE warning output (which is also required, otherwise a warning for a missing warning will be printed!). If the same warning is supposed to be triggered multiple times, one has to call ly:expect-warning multiple times.

I have now also updated all regtests that are supposed to display warnings. All those warnings are now checked (but not printed to the console). If one of those warnings is missing, a warning will be printed.

With that patch, only warnings that are not supposed to be there will be printed to the console.

Unfortunately, this means that a "make check" will show lots of changes, namely a lot of warnings will no longer be displayed.

On the other hand, the output of a normal regtest run will only show those warnings that are not expected, so any warning that is there points to a problem and should be fixed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]