Browse Source

[test] Renamed `subdir` tests into `datadir`

pull/138/head
Louis 9 years ago
parent
commit
cd0e0838f4
  1. 2
      test/test_compilation/datadir.sb
  2. 25
      test/test_compilation/datadir.tex.control
  3. 0
      test/test_compilation/datadir_datadir/img/datadir.png
  4. 0
      test/test_compilation/datadir_datadir/scores/datadir.ly
  5. 0
      test/test_compilation/datadir_datadir/songs/datadir.sg
  6. 0
      test/test_compilation/datadir_datadir/songs/datadir.sgc
  7. 0
      test/test_compilation/datadir_datadir/songs/datadir2.sg
  8. 0
      test/test_compilation/datadir_datadir/songs/datadir2.sgc
  9. 0
      test/test_compilation/datadir_datadir/songs/relative.ly
  10. 0
      test/test_compilation/datadir_datadir/songs/relative.png
  11. 0
      test/test_compilation/datadir_datadir/songs/relative.sg
  12. 0
      test/test_compilation/datadir_datadir/songs/relative.sgc
  13. 0
      test/test_compilation/datadir_datadir2/img/datadir2.png
  14. 0
      test/test_compilation/datadir_datadir2/scores/datadir2.ly

2
test/test_compilation/subdir.sb → test/test_compilation/datadir.sb

@ -2,6 +2,6 @@
"bookoptions" : [
"pictures"
],
"datadir": ["subdir_datadir", "subdir_datadir2"],
"datadir": ["datadir_datadir", "datadir_datadir2"],
"lang": "en"
}

25
test/test_compilation/subdir.tex.control → test/test_compilation/datadir.tex.control

@ -13,8 +13,8 @@
\makeatletter
\def\input@path{ %
{@TEST_FOLDER@/subdir_datadir/latex/} %
{@TEST_FOLDER@/subdir_datadir2/latex/} %
{@TEST_FOLDER@/datadir_datadir/latex/} %
{@TEST_FOLDER@/datadir_datadir2/latex/} %
{@TEST_FOLDER@/latex/} %
{@DATA_FOLDER@/latex/} %
}
@ -32,14 +32,15 @@ guitar,
\usepackage{lmodern}
\PassOptionsToPackage{english}{babel}
\PassOptionsToPackage{english}{babel}
\usepackage[english]{babel}
\lang{english}
\usepackage{graphicx}
\graphicspath{ %
{@TEST_FOLDER@/subdir_datadir/} %
{@TEST_FOLDER@/subdir_datadir2/} %
{@TEST_FOLDER@/datadir_datadir/} %
{@TEST_FOLDER@/datadir_datadir2/} %
{@TEST_FOLDER@/} %
{@DATA_FOLDER@/} %
}
@ -60,8 +61,8 @@ guitar,
\title{Guitar songbook}
\author{The Patacrep Team}
\newindex{titleidx}{subdir_title}
\newauthorindex{authidx}{subdir_auth}
\newindex{titleidx}{datadir_title}
\newauthorindex{authidx}{datadir_auth}
\notenamesout{A}{B}{C}{D}{E}{F}{G}
@ -91,7 +92,7 @@ guitar,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./datadir.sg
\import{subdir_datadir/songs/}{datadir.sg}
\import{datadir_datadir/songs/}{datadir.sg}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./datadir.sgc
@ -118,7 +119,7 @@ Chordpro}[
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./datadir2.sg
\import{subdir_datadir/songs/}{datadir2.sg}
\import{datadir_datadir/songs/}{datadir2.sg}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./datadir2.sgc
@ -145,7 +146,7 @@ Chordpro}[
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./relative.sg
\import{subdir_datadir/songs/}{relative.sg}
\import{datadir_datadir/songs/}{relative.sg}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./relative.sgc
@ -156,15 +157,15 @@ Chordpro}[
Chordpro}[
by={
},
cov={@TEST_FOLDER@/subdir_datadir/songs/./relative.png},
cov={@TEST_FOLDER@/datadir_datadir/songs/./relative.png},
]
\cover
\lilypond{@TEST_FOLDER@/subdir_datadir/songs/./relative.ly}
\image{@TEST_FOLDER@/subdir_datadir/songs/./relative.png}
\lilypond{@TEST_FOLDER@/datadir_datadir/songs/./relative.ly}
\image{@TEST_FOLDER@/datadir_datadir/songs/./relative.png}
\endsong

0
test/test_compilation/subdir_datadir/img/datadir.png → test/test_compilation/datadir_datadir/img/datadir.png

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

0
test/test_compilation/subdir_datadir/scores/datadir.ly → test/test_compilation/datadir_datadir/scores/datadir.ly

0
test/test_compilation/subdir_datadir/songs/datadir.sg → test/test_compilation/datadir_datadir/songs/datadir.sg

0
test/test_compilation/subdir_datadir/songs/datadir.sgc → test/test_compilation/datadir_datadir/songs/datadir.sgc

0
test/test_compilation/subdir_datadir/songs/datadir2.sg → test/test_compilation/datadir_datadir/songs/datadir2.sg

0
test/test_compilation/subdir_datadir/songs/datadir2.sgc → test/test_compilation/datadir_datadir/songs/datadir2.sgc

0
test/test_compilation/subdir_datadir/songs/relative.ly → test/test_compilation/datadir_datadir/songs/relative.ly

0
test/test_compilation/subdir_datadir/songs/relative.png → test/test_compilation/datadir_datadir/songs/relative.png

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

0
test/test_compilation/subdir_datadir/songs/relative.sg → test/test_compilation/datadir_datadir/songs/relative.sg

0
test/test_compilation/subdir_datadir/songs/relative.sgc → test/test_compilation/datadir_datadir/songs/relative.sgc

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

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

0
test/test_compilation/subdir_datadir2/scores/datadir2.ly → test/test_compilation/datadir_datadir2/scores/datadir2.ly

Loading…
Cancel
Save