diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-12-13 23:33:14 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-12-13 23:33:14 +0000 |
commit | 5c36594a38d86c3a2a32d24c00949f7eac5623da (patch) | |
tree | 647a117dc09ef052748c62fc839d453b1706cd47 /Build | |
parent | a25f6272b8613c37311e3a90092d57904f6089b6 (diff) |
xetex creates xdv with -no-pdf option, not dvi
git-svn-id: svn://tug.org/texlive/trunk@53122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/texk/web2c/ptexdir/zfmtcompress.test | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/Build/source/texk/web2c/ptexdir/zfmtcompress.test b/Build/source/texk/web2c/ptexdir/zfmtcompress.test index b8f02bad520..49da1174f9b 100755 --- a/Build/source/texk/web2c/ptexdir/zfmtcompress.test +++ b/Build/source/texk/web2c/ptexdir/zfmtcompress.test @@ -1,8 +1,8 @@ #!/bin/sh -vx # $Id$ -# Public domain. Origginally written by Hironori Kitagawa, 2019. -# This test takes many hours to run, and also tests several engines, -# so it is not enabled. +# Public domain. Originally written by Hironori Kitagawa, 2019. +# This test is intended to be used in a suitable temporary directory +# after installing all engines. It should not be enabled in build stage. cat <<'EOF' > stress.tex \let\origdump=\dump\let\dump\relax @@ -39,11 +39,16 @@ EOF test0() { ENGINE=$1 echo $ENGINE - rm -f stress-$ENGINE.fmt test0.dvi &>/dev/null + rm -f stress-$ENGINE.fmt test0.dvi test0.xdv &>/dev/null $ENGINE -ini -etex -progname=$ENGINE -jobname=stress-$ENGINE stress &>/dev/null ls -l stress-$ENGINE.fmt - $ENGINE -fmt=./stress-$ENGINE.fmt test0.tex &>/dev/null - ls -l test0.dvi + if [[ $ENGINE = "xetex" ]]; then + $ENGINE -fmt=./stress-$ENGINE.fmt -no-pdf test0.tex &>/dev/null + ls -l test0.xdv + else + $ENGINE -fmt=./stress-$ENGINE.fmt test0.tex &>/dev/null + ls -l test0.dvi + fi } test0 tex @@ -71,11 +76,16 @@ EOF test1() { ENGINE=$1 echo $ENGINE - rm -f latex-$ENGINE.fmt test1.dvi &>/dev/null + rm -f latex-$ENGINE.fmt test1.dvi test1.xdv &>/dev/null $ENGINE -ini -etex -progname=latex-dev -jobname=latex-$ENGINE latex.ini &>/dev/null ls -l latex-$ENGINE.fmt - $ENGINE -fmt=./latex-$ENGINE.fmt test1.tex &>/dev/null - ls -l test1.dvi + if [[ $ENGINE = "xetex" ]]; then + $ENGINE -fmt=./latex-$ENGINE.fmt -no-pdf test1.tex &>/dev/null + ls -l test1.xdv + else + $ENGINE -fmt=./latex-$ENGINE.fmt test1.tex &>/dev/null + ls -l test1.dvi + fi } test1 etex |