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



Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to