3 #(ly:set-option 'warning-as-error #f)
7 Test the different loglevels of lilypond. Run this file with --loglevel=NONE,
8 ERROR, WARNING, PROGRESS, DEBUG to see the different loglevels. The errors
9 are commented out. Comment them in to check the output manually.
13 %%%% message functions of the Input class:
14 #(display "\nMessage functions of the Input class:\n")
16 messageTest = #(define-music-function (parser location) ()
17 (ly:input-message location "Test ly:input-message" )
21 % #(display "-) Testing message\n")
22 \messageTest % message
23 % #(display "-) Testing warning\n")
25 % #(display "-) Testing error\n")
29 %%%% message functions in the warn.hh file:
30 #(display "Message functions in the warn.hh file:\n")
32 % #(display "-) Testing debug\n")
33 #(ly:debug "Test debug\n")
34 % #(display "-) Testing progress\n")
35 #(ly:progress "Test progress\n")
36 % #(display "-) Testing message\n")
37 #(ly:message "Test message\n")
38 % #(display "-) Testing warning\n")
39 #(ly:warning "Test warning\n")
40 % #(display "-) Testing error\n")
41 % #(ly:error "Test error\n")