From bae5d4e052265783b372a10316a6d6e820a6b3dd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 19 Apr 2010 00:41:29 +0000 Subject: do not run latex in test git-svn-id: svn://tug.org/texlive/trunk@17907 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipng/ChangeLog | 5 +++++ Build/source/texk/dvipng/dvipng-test.dvi | Bin 0 -> 2564 bytes Build/source/texk/dvipng/dvipng.test | 11 +++++++---- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 Build/source/texk/dvipng/dvipng-test.dvi (limited to 'Build') diff --git a/Build/source/texk/dvipng/ChangeLog b/Build/source/texk/dvipng/ChangeLog index 74faf331705..17073c2edda 100644 --- a/Build/source/texk/dvipng/ChangeLog +++ b/Build/source/texk/dvipng/ChangeLog @@ -1,3 +1,8 @@ +2010-04-18 Karl Berry + + * dvipng.test: do not run latex. + * dvipng-test.dvi: new file. + 2010-03-29 Peter Breitenlohner * configure.ac: Remove AC_TYPE_SIZE_T, now part of KPSE_COMMON. diff --git a/Build/source/texk/dvipng/dvipng-test.dvi b/Build/source/texk/dvipng/dvipng-test.dvi new file mode 100644 index 00000000000..50c00c67bf0 Binary files /dev/null and b/Build/source/texk/dvipng/dvipng-test.dvi differ diff --git a/Build/source/texk/dvipng/dvipng.test b/Build/source/texk/dvipng/dvipng.test index 4843a2167ed..1c76180c9ea 100755 --- a/Build/source/texk/dvipng/dvipng.test +++ b/Build/source/texk/dvipng/dvipng.test @@ -1,4 +1,6 @@ #! /bin/sh +# $Id$ +# Public domain. Originally written by Peter Breitenlohner, 2009. TEXMFCNF=$(dirname $(kpsewhich texmf.cnf)) TEXFONTMAPS=$(dirname $(dirname $(kpsewhich psfonts.map)))// @@ -9,9 +11,10 @@ TEXMFLOCAL=$(kpsewhich --expand-var='$TEXMFLOCAL') export TEXMFCNF TEXFONTMAPS ENCFONTS TEXMFMAIN TEXMFDIST TEXMFLOCAL -latex $srcdir/$DVIPNG_TREE/test_dvipng.tex || exit 77 +# running latex in the build tree has many too many prerequisites. +# we just check in the dvi. +#latex $srcdir/$DVIPNG_TREE/test_dvipng.tex || exit 77 -./dvipng -T tight -strict test_dvipng || exit 1 - -echo View the result e.g. with xv test_dvipng\*.png +./dvipng -T tight -strict $srcdir/dvipng-test.dvi || exit 1 +echo View the result e.g. with display dvipng-test\*.png -- cgit v1.2.3