Browse Source

[test] New test case for compilation test

Nothing is tested yet
pull/120/head
Louis 9 years ago
parent
commit
57ab47f829
  1. 18
      examples/example-subdir.sb
  2. BIN
      examples/img/datadir.png
  3. 19
      examples/root.ly
  4. BIN
      examples/root.png
  5. BIN
      examples/songs/subdir/relative.png
  6. 10
      examples/songs/subdir/root.sg
  7. 6
      examples/songs/subdir/root.sgc
  8. 0
      patacrep/data/img/treble_a.png
  9. 2
      test/test_compilation/.gitignore
  10. 7
      test/test_compilation/subdir.sb
  11. 0
      test/test_compilation/subdir_datadir/img/datadir.ly
  12. BIN
      test/test_compilation/subdir_datadir/img/datadir.png
  13. 0
      test/test_compilation/subdir_datadir/songs/datadir.sg
  14. 0
      test/test_compilation/subdir_datadir/songs/datadir.sgc
  15. 0
      test/test_compilation/subdir_datadir/songs/datadir2.sg
  16. 0
      test/test_compilation/subdir_datadir/songs/datadir2.sgc
  17. 0
      test/test_compilation/subdir_datadir/songs/relative.ly
  18. BIN
      test/test_compilation/subdir_datadir/songs/relative.png
  19. 0
      test/test_compilation/subdir_datadir/songs/relative.sg
  20. 0
      test/test_compilation/subdir_datadir/songs/relative.sgc
  21. 0
      test/test_compilation/subdir_datadir2/img/datadir2.ly
  22. 0
      test/test_compilation/subdir_datadir2/img/datadir2.png

18
examples/example-subdir.sb

@ -1,18 +0,0 @@
{
"bookoptions" : [
"diagram",
"repeatchords",
"lilypond",
"pictures"
],
"datadir": ["datadir2"],
"booktype" : "chorded",
"template" : "patacrep.tex",
"lang" : "french",
"encoding": "utf8",
"authwords" : {
"sep" : ["and", "et"]
},
"content": [["sorted", "subdir/*.sg", "subdir/*.sgc"]]
}

BIN
examples/img/datadir.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 B

19
examples/root.ly

@ -1,19 +0,0 @@
\include "_lilypond/header"
\paper{paper-height = 6.5\cm}
{
\key a \minor
\time 6/8
\partial 8 a'8
\relative c''{
c4 d8 e8. (f16) e8 d4 b8 g8. (a16) b8
c4 a8 a8. (gis16) a8 b4 gis8 e4 a8
c4 d8 e8. (f16 e8) d4 b8 g8. (a16) b8
c8. (b16) a8 gis8. (fis16) gis8 a4 a8 a4.
g'4. g8. (fis16) e8 d4 b8 g8. (a16) b8
c4 (a8) a8. (gis16) a8 b4 gis8 e4.
g'4. g8. (fis16) e8 d4 b8 g8. (a16) b8
c8. (b16) a8 gis8. (fis16) gis8 a4. a4.
}
}

BIN
examples/root.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 513 B

BIN
examples/songs/subdir/relative.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 B

10
examples/songs/subdir/root.sg

@ -1,10 +0,0 @@
\beginsong{Image included from root directory\\\LaTeX}
[cov={root}]
\cover
\lilypond{root.ly}
\image{root}
\endsong

6
examples/songs/subdir/root.sgc

@ -1,6 +0,0 @@
{title : Image included from root directory}
{subtitle: Chordpro}
{cover: root.png}
{partition: root.ly}
{image: root.png}

0
examples/img/treble_a.png → patacrep/data/img/treble_a.png

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

2
test/test_compilation/.gitignore

@ -0,0 +1,2 @@
/*tex
.cache

7
test/test_compilation/subdir.sb

@ -0,0 +1,7 @@
{
"bookoptions" : [
"lilypond",
"pictures"
],
"datadir": ["subdir_datadir", "subdir_datadir2"]
}

0
examples/img/datadir.ly → test/test_compilation/subdir_datadir/img/datadir.ly

BIN
test/test_compilation/subdir_datadir/img/datadir.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

0
examples/songs/subdir/datadir.sg → test/test_compilation/subdir_datadir/songs/datadir.sg

0
examples/songs/subdir/datadir.sgc → test/test_compilation/subdir_datadir/songs/datadir.sgc

0
examples/songs/subdir/datadir2.sg → test/test_compilation/subdir_datadir/songs/datadir2.sg

0
examples/songs/subdir/datadir2.sgc → test/test_compilation/subdir_datadir/songs/datadir2.sgc

0
examples/songs/subdir/relative.ly → test/test_compilation/subdir_datadir/songs/relative.ly

BIN
test/test_compilation/subdir_datadir/songs/relative.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

0
examples/songs/subdir/relative.sg → test/test_compilation/subdir_datadir/songs/relative.sg

0
examples/songs/subdir/relative.sgc → test/test_compilation/subdir_datadir/songs/relative.sgc

0
examples/datadir2/img/datadir2.ly → test/test_compilation/subdir_datadir2/img/datadir2.ly

0
examples/datadir2/img/datadir2.png → test/test_compilation/subdir_datadir2/img/datadir2.png

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Loading…
Cancel
Save