summaryrefslogtreecommitdiff
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
parent3f7e0725352fcc9339a279ceffc6e0404e216844 (diff)
do not run latex in test
git-svn-id: svn://tug.org/texlive/trunk@17907 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipng/ChangeLog5
-rw-r--r--Build/source/texk/dvipng/dvipng-test.dvibin0 -> 2564 bytes
-rwxr-xr-xBuild/source/texk/dvipng/dvipng.test11
3 files changed, 12 insertions, 4 deletions
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 <karl@tug.org>
+
+ * dvipng.test: do not run latex.
+ * dvipng-test.dvi: new file.
+
2010-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* 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
--- /dev/null
+++ b/Build/source/texk/dvipng/dvipng-test.dvi
Binary files 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