diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
commit | ad547a6b5986815fda458221149728d9d9ab1d87 (patch) | |
tree | 16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/dvipdfm-x/dvipdfmx-upjf.test | |
parent | 947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff) |
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx-upjf.test')
-rwxr-xr-x | Build/source/texk/dvipdfm-x/dvipdfmx-upjf.test | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx-upjf.test b/Build/source/texk/dvipdfm-x/dvipdfmx-upjf.test new file mode 100755 index 00000000000..8fe96839710 --- /dev/null +++ b/Build/source/texk/dvipdfm-x/dvipdfmx-upjf.test @@ -0,0 +1,38 @@ +#! /bin/sh -vx +# $Id$ +# Copyright 2020 Japanese TeX Development Community <issue@texjp.org> +# You may freely use, modify and/or distribute this file. + +TEXMFCNF=$srcdir/../kpathsea +TFMFONTS="$srcdir/tests;$srcdir/data" +T1FONTS="$srcdir/tests;$srcdir/data" +TEXFONTMAPS="$srcdir/tests;$srcdir/data" +DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data" +TEXPICTS=$srcdir/tests +TEXFONTS="$srcdir/tests;." +SOURCE_DATE_EPOCH=1588474800 +export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS TEXFONTS SOURCE_DATE_EPOCH + +failed= + +echo "*** dvipdfmx: test for upjf_full.pdf" && echo \ + && cp $srcdir/tests/upjf_full.vf ./upjf.vf \ + && ./xdvipdfmx --dvipdfmx -vv -f upjf.map -o upjf.pdf $srcdir/tests/upjf.dvi \ + && mv ./upjf.pdf ./upjf_full.pdf \ + && echo && echo "dvipdfmx-upjf-vf_full tests OK" && echo \ + || failed="$failed dvipdfmx-upjf-vf_full" + +echo "*** dvipdfmx: test for upjf_omit.pdf" && echo \ + && cp $srcdir/tests/upjf_omit.vf ./upjf.vf \ + && ./xdvipdfmx --dvipdfmx -vv -f upjf.map -o upjf.pdf $srcdir/tests/upjf.dvi \ + && mv ./upjf.pdf ./upjf_omit.pdf \ + && echo && echo "dvipdfmx-upjf-vf_omit tests OK" && echo \ + || failed="$failed dvipdfmx-upjf-vf_omit" + +cmp ./upjf_full.pdf ./upjf_omit.pdf || failed="$failed dvipdfmx-upjf-cmp" + +test -z "$failed" && exit 0 +echo +echo "failed tests:$failed" +exit 1 + |