summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dvipdfmx.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-08-02 08:12:45 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-08-02 08:12:45 +0000
commit8c3b2cf8304d91f7bd5b9240c3b6683aacab3b32 (patch)
tree2253c3372faaa39351dfccaefdfb3621579d0bb6 /Build/source/texk/dvipdfm-x/dvipdfmx.test
parentf33eb0484cbe25aa606b58e4eb8e68c795607fb2 (diff)
dvipdfm-x: Bug fixes and additional test cases
git-svn-id: svn://tug.org/texlive/trunk@31330 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx.test')
-rwxr-xr-xBuild/source/texk/dvipdfm-x/dvipdfmx.test14
1 files changed, 11 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.test b/Build/source/texk/dvipdfm-x/dvipdfmx.test
index a46ff272355..fa70743f7b7 100755
--- a/Build/source/texk/dvipdfm-x/dvipdfmx.test
+++ b/Build/source/texk/dvipdfm-x/dvipdfmx.test
@@ -6,22 +6,30 @@
# Not really a test, just making sure the program executes.
TEXMFCNF=${srcdir}/../kpathsea
+TEXFONTS=${srcdir}/data
DVIPDFMXINPUTS=${srcdir}/tests:${srcdir}/data
-export TEXMFCNF DVIPDFMXINPUTS
+TEXPICTS=${srcdir}/tests
+export TEXMFCNF TEXFONTS DVIPDFMXINPUTS TEXPICTS
failed=
echo "*** dvipdfmx --version" \
&& ./dvipdfmx --version \
- && echo "dvipdfmx-version tests OK" && echo \
+ && echo && echo "dvipdfmx-version tests OK" && echo \
|| failed="$failed dvipdfmx-version"
echo "*** dvipdfmx --help" \
&& ./dvipdfmx --help \
- && echo "dvipdfmx-help tests OK" && echo \
+ && echo && echo "dvipdfmx-help tests OK" && echo \
|| failed="$failed dvipdfmx-help"
+echo "*** dvipdfmx -v -o image1.pdf image" && echo \
+ && ./dvipdfmx -v -o image1.pdf ${srcdir}/tests/image \
+ && echo && echo "dvipdfmx-image tests OK" && echo \
+ || failed="$failed dvipdfmx-image"
+
test -z "$failed" && exit 0
+echo
echo "failed tests:$failed"
exit 1