]> git.donarmstrong.com Git - lilypond.git/commitdiff
Clarify purpose of spacing-loose-grace-error test
authorTrevor Daniels <t.daniels@treda.co.uk>
Thu, 1 Sep 2011 07:43:29 +0000 (08:43 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Thu, 1 Sep 2011 07:43:29 +0000 (08:43 +0100)
 - elaborate comment to explain purpose of test

 - add ragged-right = ##f to avoid (expected) collision

input/regression/spacing-loose-grace-error.ly

index 8a4752c26929b838cf7acc9cc848304763174dfe..cd647bcd82f9226b454ab654cc845a4aa9eaf8f3 100644 (file)
@@ -1,19 +1,27 @@
 \header
 {
-  
+
 texidoc = "Even in case of incorrect contexts (eg. shortlived
   contexts) that break linking of columns through spacing wishes,
-  @code{strict-note-spacing} defaults to a robust solution."
+  @code{strict-note-spacing} defaults to a robust solution.
+  This test passes if it does not seg fault; instead it should
+  produce three programming error messages.  Note that, in tight
+  music with strict note spacing, grace notes will collide with
+  normal notes.  This is expected."
 
 }
 
 \version "2.14.0"
 
-
 %% \new Staff cause shortlived, disconnected Voice contexts
 %% breaking spacing-wishes links.
-\new Staff {
-  \override Score.SpacingSpanner #'strict-note-spacing = ##t
-  \afterGrace c'4 {c'32 c'32 }
-  c'4
+\score {
+  \new Staff {
+    \override Score.SpacingSpanner #'strict-note-spacing = ##t
+    \afterGrace c'4 {c'32 c'32 }
+    c'4
+  }
+  \layout {
+    ragged-right = ##f
+  }
 }