Re: bogus warning with defineBarLine

Jean Abou Samra <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
On 30/01/2023 05:36, David Zelinsky wrote:
> Is there any benefit in adding a regression test?  It compiles
> correctly, it's just the warning that is bogus.  Is this detected in
> regressing testing?



Yes, the log is captured for each test. If the log
differs in a "make check" run, it will be shown with
a diff, just like a change in the images displays an
"image diff". If the test is really intended to check
that there are no warnings, you can put

#(ly:set-option 'warning-as-error)

at the beginning, to ensure it errors out (thus failing
the make check run entirely) if there is a warning.

Jean
OpenPGP_signature (application/pgp-signature, 236 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.