summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/dvipng.test
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-19 00:41:29 +0000
committerKarl Berry <karl@freefriends.org>2010-04-19 00:41:29 +0000
commitbae5d4e052265783b372a10316a6d6e820a6b3dd (patch)
tree13c595d9e7167e3c3e91dd1ce39c07158fdde56a /Build/source/texk/dvipng/dvipng.test
parent3f7e0725352fcc9339a279ceffc6e0404e216844 (diff)
do not run latex in test
git-svn-id: svn://tug.org/texlive/trunk@17907 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/dvipng.test')
-rwxr-xr-xBuild/source/texk/dvipng/dvipng.test11
1 files changed, 7 insertions, 4 deletions
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