summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-01-19 16:29:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-01-19 16:29:28 +0000
commit04c2cc3e4fd3c33cb2dd3b2e2c1b7067dd9204dc (patch)
tree314efc9986dab5ab1cc2756c2b5f3a2474b6f4d7 /Build/source/texk/web2c/ptexdir
parentba0525ab1357402db941d4e2e6da5cd579ab2056 (diff)
texmf.cnf for (e-)pTeX's trip test
git-svn-id: svn://tug.org/texlive/trunk@21125 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir')
-rw-r--r--Build/source/texk/web2c/ptexdir/am/ptex.am2
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/ptrip.test7
-rw-r--r--Build/source/texk/web2c/ptexdir/ptrip/ptrip.diffs (renamed from Build/source/texk/web2c/ptexdir/ptrip.diffs)bin9630 -> 9543 bytes
-rw-r--r--Build/source/texk/web2c/ptexdir/ptrip/texmf.cnf41
4 files changed, 46 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/ptexdir/am/ptex.am b/Build/source/texk/web2c/ptexdir/am/ptex.am
index c07411f1196..f6f6fb0ea4c 100644
--- a/Build/source/texk/web2c/ptexdir/am/ptex.am
+++ b/Build/source/texk/web2c/ptexdir/am/ptex.am
@@ -213,7 +213,7 @@ EXTRA_DIST += ptexdir/tests/min10.pl ptexdir/tests/min10.tfm
EXTRA_DIST += ptexdir/tests/tmin10.pl ptexdir/tests/tmin10.tfm
DISTCLEANFILES += tests/x*min10.*
## ptexdir/ptrip.test
-EXTRA_DIST += ptexdir/ptrip.diffs
+EXTRA_DIST += ptexdir/ptrip/ptrip.diffs ptexdir/ptrip/texmf.cnf
ptrip.diffs: ptex$(EXEEXT)
$(triptrap_diffs) $@
.PHONY: ptrip-clean
diff --git a/Build/source/texk/web2c/ptexdir/ptrip.test b/Build/source/texk/web2c/ptexdir/ptrip.test
index b0cf35921f3..1ae53675851 100755
--- a/Build/source/texk/web2c/ptexdir/ptrip.test
+++ b/Build/source/texk/web2c/ptexdir/ptrip.test
@@ -1,16 +1,17 @@
#! /bin/sh
-# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2010, 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
testdir=$srcdir/triptrap
+ptestdir=$srcdir/ptexdir/ptrip
-TEXMFCNF=$testdir; export TEXMFCNF
+TEXMFCNF=$ptestdir; export TEXMFCNF
dvitype_args="-output-level=2 -dpi=72.27 -page-start='*.*.*.*.*.*.*.*.*.*'"
echo ">>> Running TRIP test for pTeX." >&2
-echo ">>> See $srcdir/ptexdir/ptrip.diffs for example of acceptable diffs." >&2
+echo ">>> See $ptestdir/ptrip.diffs for example of acceptable diffs." >&2
rm -f trip.tfm trip.pl trip.tex trip.fmt trip.dvi \
ptripin.fot ptripin.log ptrip.fot ptrip.log ptrip.typ \
diff --git a/Build/source/texk/web2c/ptexdir/ptrip.diffs b/Build/source/texk/web2c/ptexdir/ptrip/ptrip.diffs
index ed0ac8098b4..9dc6343c0fa 100644
--- a/Build/source/texk/web2c/ptexdir/ptrip.diffs
+++ b/Build/source/texk/web2c/ptexdir/ptrip/ptrip.diffs
Binary files differ
diff --git a/Build/source/texk/web2c/ptexdir/ptrip/texmf.cnf b/Build/source/texk/web2c/ptexdir/ptrip/texmf.cnf
new file mode 100644
index 00000000000..79e15b44a37
--- /dev/null
+++ b/Build/source/texk/web2c/ptexdir/ptrip/texmf.cnf
@@ -0,0 +1,41 @@
+% ptexdir/ptrip/texmf.cnf -- configuration for the ptrip test.
+
+% These values apply to all the programs, and they are necessary for any
+% kind of reasonable diff.
+error_line = 64
+half_error_line = 32
+max_print_line = 72
+
+% pTeX.
+mem_bot = 1
+main_memory = 3500
+max_strings = 3000
+pool_size = 40000
+
+string_vacancies = 8000
+
+font_mem_size = 20000
+font_max = 75
+stack_size = 200
+nest_size = 40
+buf_size = 500
+save_size = 600
+dvi_buf_size = 800
+% Although hyph_size is settable, it can't be <hyph_prime, which is 607,
+% and the original trip setting is 307, so no point in changing the default.
+
+% Avoid running any MakeTeX* program.
+MAKETEXTFM = 0
+MAKETEXTEX = 0
+MAKETEXMF = 0
+
+% Search paths.
+% trip.tex:
+TEXINPUTS = .
+% trip.tfm:
+TFMFONTS = .
+% trip.fmt:
+TEXFORMATS = .
+% tex.pool:
+TEXPOOL = .
+