]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/invalid-engraver.ly
Issue 5147: Add whether to use OTF feature depending on Pango version
[lilypond.git] / input / regression / invalid-engraver.ly
index ecead3955d951a5cb924d4f52473a5557e20c353..b83befbae28ec1e8817e6179a65310ab99cde05d 100644 (file)
@@ -1,20 +1,18 @@
-\version "2.12.0"
+\version "2.16.0"
+
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (ly:translate-cpp-warning-scheme "unknown translator: `%s'") "Rhythmic_column_engraver_foo")
+#(ly:expect-warning (ly:translate-cpp-warning-scheme "cannot find: `%s'") "Rhythmic_column_engraver_foo")
 
 \header {
-  texidoc="Engravers which do not exist are simply ignored"
+  texidoc = "Engravers which do not exist produce a warning."
 }
 
-\layout { \context {
-  \name ImproVoice
-  \type "Engraver_group"
-  \consists "Rhythmic_column_engraver_foo"  % "typo" here
+\layout {
+  \context {
+    \Voice
+    \consists "Rhythmic_column_engraver_foo"
+  }
 }
-\context { \Staff
-  \accepts "ImproVoice"
-}}
 
-\relative c'' {
-  a4 d8 bes8 \new ImproVoice { c4^"ad lib" c
-   c4 c^"undress" c_"while playing :)" c }
-  a1
-}
\ No newline at end of file
+{ a4 }