diff options
Diffstat (limited to 'biblio/bibtex/bibtex-x/tests/bibtex8-char.test')
-rwxr-xr-x | biblio/bibtex/bibtex-x/tests/bibtex8-char.test | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/biblio/bibtex/bibtex-x/tests/bibtex8-char.test b/biblio/bibtex/bibtex-x/tests/bibtex8-char.test index 06d5e41af3..b85ba9d700 100755 --- a/biblio/bibtex/bibtex-x/tests/bibtex8-char.test +++ b/biblio/bibtex/bibtex-x/tests/bibtex8-char.test @@ -3,44 +3,48 @@ # Copyright 2022 TANAKA Takuji <ttk@t-lab.opal.ne.jp> # You may freely use, modify and/or distribute this file. +BinDir=${BinDir:-.} +ExeExt=${ExeExt:-} +_bibtex8=$BinDir/bibtex8$ExeExt + test -d tests || mkdir -p tests rc=0 TEXMFCNF=$srcdir/../kpathsea -BSTINPUTS=$srcdir/tests:$srcdir/csf +BSTINPUTS=$srcdir/{tests,csf} BIBINPUTS=$srcdir/tests export TEXMFCNF BSTINPUTS BIBINPUTS ## test for add.period$ cp $srcdir/tests/perioda.aux tests/xperioda.aux -./bibtex8 tests/xperioda || rc=3 +$_bibtex8 tests/xperioda || rc=3 diff $srcdir/tests/perioda.bbl tests/xperioda.bbl || rc=4 ## test for substring$ cp $srcdir/tests/substra.aux tests/xsubstra.aux -./bibtex8 tests/xsubstra || rc=5 +$_bibtex8 tests/xsubstra || rc=5 diff $srcdir/tests/substra.bbl tests/xsubstra.bbl || rc=6 ## test for text.length$, text.prefix$ cp $srcdir/tests/txtprfxa.aux tests/xtxtprfxa.aux -./bibtex8 tests/xtxtprfxa || rc=7 +$_bibtex8 tests/xtxtprfxa || rc=7 diff $srcdir/tests/txtprfxa.bbl tests/xtxtprfxa.bbl || rc=8 ## test for width$ cp $srcdir/tests/widtha.aux tests/xwidtha.aux -./bibtex8 --csfile sort1.csf tests/xwidtha || rc=9 +$_bibtex8 --csfile sort1.csf tests/xwidtha || rc=9 diff $srcdir/tests/widtha.bbl tests/xwidtha.bbl || rc=10 ## test for chr.to.int$, int.to.str$, int.to.chr$ cp $srcdir/tests/chara.aux tests/xchara.aux -./bibtex8 tests/xchara || rc=11 +$_bibtex8 tests/xchara || rc=11 diff $srcdir/tests/chara.bbl tests/xchara.bbl || rc=12 ## test for num.names$, format.name$ cp $srcdir/tests/namea.aux tests/xnamea.aux -max_print_line=119 ./bibtex8 tests/xnamea || rc=13 +max_print_line=119 $_bibtex8 tests/xnamea || rc=13 diff $srcdir/tests/namea.bbl tests/xnamea.bbl || rc=14 |