@@ -2,16 +2,16 @@ save_file () {
22 test=" $1 " ;
33 for config in build crossref nomencl bibtex biblatex; do
44 if [[ " $config " == " build" ]]; then
5- test_dir=" test /testfiles" ;
5+ test_dir=" tests /testfiles" ;
66 else
7- test_dir=" test /testfiles-$config " ;
7+ test_dir=" tests /testfiles-$config " ;
88 fi
9- file_path=" $test_dir /$test .tex " ;
9+ file_path=" $test_dir /$test .lvt " ;
1010 if [ -f " $file_path " ]; then
1111 if [[ " $config " == " build" ]]; then
1212 l3build save --halt-on-error " $test " || exit 1;
1313 else
14- l3build save --halt-on-error --config " test /config-$config " " $test " || exit 1;
14+ l3build save --halt-on-error --config " tests /config-$config " " $test " || exit 1;
1515 fi
1616 break ;
1717 fi
@@ -21,14 +21,14 @@ save_file () {
2121save_config () {
2222 config=" $1 " ;
2323 if [[ " $config " == " build" ]]; then
24- for testfile in test /testfiles/* .tex ; do
25- test=" $( basename " $testfile " .tex ) " ;
24+ for testfile in tests /testfiles/* .lvt ; do
25+ test=" $( basename " $testfile " .lvt ) " ;
2626 l3build save --halt-on-error " $test " || exit 1;
2727 done
2828 else
29- for testfile in " test /testfiles-$config " /* .tex ; do
30- test=" $( basename " $testfile " .tex ) " ;
31- l3build save --halt-on-error --config " test /config-$config " " $test " || exit 1;
29+ for testfile in " tests /testfiles-$config " /* .lvt ; do
30+ test=" $( basename " $testfile " .lvt ) " ;
31+ l3build save --halt-on-error --config " tests /config-$config " " $test " || exit 1;
3232 done
3333 fi
3434}
0 commit comments