[PATCH] Trackers 832 and 714 - add regression test for output fi= extended Latin accents and other UTF-8 characters.

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


Signed-off-by: Ian Hulin <ian@xxxxxxxxxxxx>
---
 input/regression/output-filenames-with-accents.ly |  190 +++++++++++++++=
++++++
 1 files changed, 190 insertions(+), 0 deletions(-)
 create mode 100644 input/regression/output-filenames-with-accents.ly

diff --git a/input/regression/output-filenames-with-accents.ly b/input/re=
gression/output-filenames-with-accents.ly
new file mode 100644
index 0000000..0625b2f
--- /dev/null
+++ b/input/regression/output-filenames-with-accents.ly
@@ -0,0 +1,190 @@
+\version "2.13.5"
+
+\header {
+  texidoc =3D "Using extended Latin characters like =C5=A1 in
+  output file-names should not cause any problems with
+  backend processors.  We test this here by using such
+  characters in output-suffix"
+  dedication =3D "Lilypond Regression Test"
+  title =3D "M=C3=A1 Vlast"
+  subtitle =3D "Symphonic Tone Poem Cycle"
+  instrument =3D "Orchestra"
+  composer =3D "Bed=C5=99ich =C5=A0metana"
+  opus =3D "Opus 64"
+}
+\version "2.13.5"
+
+
+globalI =3D {
+  \key c \major
+  \time 4/4
+}
+
+globalII =3D {
+  \key e \minor
+  \time 6/8
+}
+globalIII =3D {
+  \key f \minor
+  \time 4/4
+}
+globalIV =3D {
+  \key f \major
+  \time 4/4
+}
+globalV =3D {
+  \key d \minor
+  \time 4/4
+}
+globalVI =3D {
+  \key d \minor
+  \time 4/4
+}
+
+violinmI =3D \relative c'' {
+  \globalI
+  c4 c c c |
+}
+"output-suffix" =3D "Vy=C5=A1ehrad"
+\book {
+  \header {
+   subsubtitle =3D "I. Vy=C5=A1ehrad"
+  }
+  \score {
+    \new Staff \with {
+      instrumentName =3D "Violin"
+      midiInstrument =3D "violin"
+    } \violinmI
+    \layout { }
+    \midi {
+      \context {
+        \Score
+        tempoWholesPerMinute =3D #(ly:make-moment 100 4)
+      }
+    }
+  }
+}
+
+violinmII =3D \relative c'' {
+  \globalII
+  % Music follows here.
+  e4 e8 e4 e8 |
+}
+"output-suffix" =3D "Vltava"
+\book {
+  \header {
+   subsubtitle =3D "II. Vltava"
+  }
+  \score {
+    \new Staff \with {
+      instrumentName =3D "Violin"
+      midiInstrument =3D "violin"
+    } \violinmII
+    \layout { }
+    \midi {
+      \context {
+        \Score
+        tempoWholesPerMinute =3D #(ly:make-moment 100 4)
+      }
+    }
+  }
+}
+
+violinmIII =3D \relative c'' {
+  \globalIII
+  % Music follows here.
+  f4 f f f|
+}
+"output-suffix" =3D "=C5=A0arka"
+\book {
+  \header {
+   subsubtitle =3D "III. =C5=A0arka"
+  }
+  \score {
+    \new Staff \with {
+      instrumentName =3D "Violin"
+      midiInstrument =3D "violin"
+    } \violinmIII
+    \layout { }
+    \midi {
+      \context {
+        \Score
+        tempoWholesPerMinute =3D #(ly:make-moment 100 4)
+      }
+    }
+  }
+}
+
+violinmIV =3D \relative c'' {
+  \globalIV
+  % Music follows here.
+  d4 d d d |
+}
+"output-suffix" =3D "Z-=C4=8Desk=C3=BDch-luh=C5=AF-a-h=C3=A1j=C5=AF"
+\book {
+  \header {
+   subsubtitle =3D "IV. Z =C4=8Desk=C3=BDch luh=C5=AF a h=C3=A1j=C5=AF"
+  }
+  \score {
+    \new Staff \with {
+      instrumentName =3D "Violin"
+      midiInstrument =3D "violin"
+    } \violinmIV
+    \layout { }
+    \midi {
+      \context {
+        \Score
+        tempoWholesPerMinute =3D #(ly:make-moment 100 4)
+      }
+    }
+  }
+}
+
+violinmV =3D \relative c'' {
+  \globalV
+  % Music follows here.
+  d4 d d d |
+}
+"output-suffix" =3D "T=C3=A1bor"
+\book {
+  \header {
+   subsubtitle =3D "V. T=C3=A1bor"
+  }
+  \score {
+    \new Staff \with {
+      instrumentName =3D "Violin"
+      midiInstrument =3D "violin"
+    } \violinmV
+    \layout { }
+    \midi {
+      \context {
+        \Score
+        tempoWholesPerMinute =3D #(ly:make-moment 100 4)
+      }
+    }
+  }
+}
+violinmVI =3D \relative c'' {
+  \globalVI
+  % Music follows here.
+  d4 d d d |
+}
+"output-suffix" =3D "Blanik"
+\book {
+  \header {
+   subsubtitle =3D "VI. Blanik"
+  }
+  \score {
+    \new Staff \with {
+      instrumentName =3D "Violin"
+      midiInstrument =3D "violin"
+    } \violinmVI
+    \layout { }
+    \midi {
+      \context {
+        \Score
+        tempoWholesPerMinute =3D #(ly:make-moment 100 4)
+      }
+    }
+  }
+}
--=20
1.6.3.3


--------------030704010308080405040709--

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/