File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11save_file () {
22 test=" $1 " ;
3- for config in main crossref nomencl bibtex biblatex; do
4- if [[ " $config " == " main " ]]; then
3+ for config in build crossref nomencl bibtex biblatex; do
4+ if [[ " $config " == " build " ]]; then
55 test_dir=" test/testfiles" ;
66 else
77 test_dir=" test/testfiles-$config " ;
88 fi
99 file_path=" $test_dir /$test .tex" ;
1010 if [ -f " $file_path " ]; then
11- if [[ " $config " == " main " ]]; then
11+ if [[ " $config " == " build " ]]; then
1212 l3build save --halt-on-error " $test " || exit 1;
1313 else
1414 l3build save --halt-on-error --config " test/config-$config " " $test " || exit 1;
@@ -20,7 +20,7 @@ save_file () {
2020
2121save_config () {
2222 config=" $1 " ;
23- if [[ " $config " == " main " ]]; then
23+ if [[ " $config " == " build " ]]; then
2424 for testfile in test/testfiles/* .tex; do
2525 test=" $( basename " $testfile " .tex) " ;
2626 l3build save --halt-on-error " $test " || exit 1;
@@ -35,12 +35,12 @@ save_config () {
3535
3636
3737if [[ $# -eq 0 ]]; then
38- for config in main crossref nomencl bibtex biblatex; do
38+ for config in build crossref nomencl bibtex biblatex; do
3939 save_config $config ;
4040 done
4141else
4242 case $1 in
43- main |crossref|nomencl|bibtex|biblatex)
43+ build |crossref|nomencl|bibtex|biblatex)
4444 save_config " $1 " ;
4545 ;;
4646
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ test="$(basename $1 .tex)";
22baseline_dir=" test/baseline" ;
33diff_dir=" test/diff" ;
44baseline_path=" $baseline_dir /$test .pdf" ;
5- for config in main crossref nomencl bibtex biblatex; do
6- if [[ " $config " == " main " ]]; then
5+ for config in build crossref nomencl bibtex biblatex; do
6+ if [[ " $config " == " build " ]]; then
77 test_dir=" test/testfiles" ;
88 build_dir=" build/test" ;
99 else
@@ -12,7 +12,7 @@ for config in main crossref nomencl bibtex biblatex; do
1212 fi
1313 file_path=" $test_dir /$test .tex" ;
1414 if [ -f " $file_path " ]; then
15- if [[ " $config " == " main " ]]; then
15+ if [[ " $config " == " build " ]]; then
1616 l3build save --halt-on-error " $test " || exit 1;
1717 else
1818 l3build save --halt-on-error --config " test/config-$config " " $test " || exit 1;
You can’t perform that action at this time.
0 commit comments