]> git.donarmstrong.com Git - lilypond.git/commitdiff
Lilypond-book: Add regression test files
authorChristian Hitz <christian@klarinett.li>
Sun, 14 Feb 2010 13:51:39 +0000 (14:51 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 3 Jul 2010 11:26:51 +0000 (13:26 +0200)
Tests the operation of lilypond-book with HTML files.

input/regression/lilypond-book/include.ly [new file with mode: 0644]
input/regression/lilypond-book/include_space_after_tag.html [new file with mode: 0644]
input/regression/lilypond-book/inline_newline_after_tag.html [new file with mode: 0644]
input/regression/lilypond-book/inline_no_option.html [new file with mode: 0644]
input/regression/lilypond-book/inline_option.html [new file with mode: 0644]
input/regression/lilypond-book/newline_after_tag.html [new file with mode: 0644]
input/regression/lilypond-book/space_after_tag.html [new file with mode: 0644]
input/regression/lilypond-book/version.html [new file with mode: 0644]
input/regression/lilypond-book/version_newline.html [new file with mode: 0644]

diff --git a/input/regression/lilypond-book/include.ly b/input/regression/lilypond-book/include.ly
new file mode 100644 (file)
index 0000000..5bc46ed
--- /dev/null
@@ -0,0 +1,3 @@
+\score {
+       \relative c'' { \key c \minor c4 es g2 }
+}
diff --git a/input/regression/lilypond-book/include_space_after_tag.html b/input/regression/lilypond-book/include_space_after_tag.html
new file mode 100644 (file)
index 0000000..0a408c1
--- /dev/null
@@ -0,0 +1,9 @@
+<html>
+<body>
+Including a ly file with newline and spaces in the tags.
+<lilypondfile
+>
+include.ly
+</lilypondfile >
+</body>
+</html>
diff --git a/input/regression/lilypond-book/inline_newline_after_tag.html b/input/regression/lilypond-book/inline_newline_after_tag.html
new file mode 100644 (file)
index 0000000..658655c
--- /dev/null
@@ -0,0 +1,6 @@
+<html>
+<body>
+Some music in <lilypond relative=2: a b c
+/> a line of text with a newline before the tag end.
+</body>
+</html>
diff --git a/input/regression/lilypond-book/inline_no_option.html b/input/regression/lilypond-book/inline_no_option.html
new file mode 100644 (file)
index 0000000..8670c2c
--- /dev/null
@@ -0,0 +1,4 @@
+<html>
+Some music in <lilypond: { a b c }/> a line of text.
+</body>
+</html>
diff --git a/input/regression/lilypond-book/inline_option.html b/input/regression/lilypond-book/inline_option.html
new file mode 100644 (file)
index 0000000..dfb1099
--- /dev/null
@@ -0,0 +1,4 @@
+<html>
+Some music in <lilypond relative=2: a b c/> a line of text.
+</body>
+</html>
diff --git a/input/regression/lilypond-book/newline_after_tag.html b/input/regression/lilypond-book/newline_after_tag.html
new file mode 100644 (file)
index 0000000..2ad549c
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<body>
+Lilypond fragment with newlines before the end tags.
+<lilypond fragment relative=2
+>
+\key c \minor c4 es g2
+</lilypond
+>
+</body>
+</html>
diff --git a/input/regression/lilypond-book/space_after_tag.html b/input/regression/lilypond-book/space_after_tag.html
new file mode 100644 (file)
index 0000000..a0be117
--- /dev/null
@@ -0,0 +1,8 @@
+<html>
+<body>
+Lilypond fragment with spaces and tabs before the end tags.
+<lilypond fragment relative=2     >
+\key c \minor c4 es g2
+</lilypond     >
+</body>
+</html>
diff --git a/input/regression/lilypond-book/version.html b/input/regression/lilypond-book/version.html
new file mode 100644 (file)
index 0000000..3fdc332
--- /dev/null
@@ -0,0 +1,5 @@
+<html>
+<body>
+Lilypond version: <lilypondversion/>
+</body>
+</html>
diff --git a/input/regression/lilypond-book/version_newline.html b/input/regression/lilypond-book/version_newline.html
new file mode 100644 (file)
index 0000000..8519705
--- /dev/null
@@ -0,0 +1,6 @@
+<html>
+<body>
+Lilypond version: <lilypondversion
+/>
+</body>
+</html>