summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdf-x/xdvipdfm-res.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-09-18 09:59:23 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-09-18 09:59:23 +0000
commitfe16d630d11241071f190c9562fb44e9dbfd62ff (patch)
treec65c02df8e34f44a6341a21ca16eea041616d5cd /Build/source/texk/dvipdf-x/xdvipdfm-res.test
parenta7c9c8ee656a7855f7dce3f33feb4d3a15d2a6df (diff)
dvipdf-x: More test cases and bug fixes
git-svn-id: svn://tug.org/texlive/trunk@31691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdf-x/xdvipdfm-res.test')
-rwxr-xr-xBuild/source/texk/dvipdf-x/xdvipdfm-res.test25
1 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdf-x/xdvipdfm-res.test b/Build/source/texk/dvipdf-x/xdvipdfm-res.test
new file mode 100755
index 00000000000..ab3b87755cd
--- /dev/null
+++ b/Build/source/texk/dvipdf-x/xdvipdfm-res.test
@@ -0,0 +1,25 @@
+#! /bin/sh
+
+# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.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
+export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS
+
+failed=
+
+echo "*** xdvipdfmx -v -z0 -o resrc2.pdf resrc" && echo \
+ && ./xdvipdfmx -v -z0 -o resrc2.pdf $srcdir/tests/resrc \
+ && echo && echo "xdvipdfmx-res tests OK" && echo \
+ || failed="$failed xdvipdfmx-res"
+
+test -z "$failed" && exit 0
+echo
+echo "failed tests:$failed"
+exit 1
+