summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/build-aux/README.TL4
-rw-r--r--Build/source/texk/web2c/ChangeLog10
-rw-r--r--Build/source/texk/web2c/Makefile.am64
-rw-r--r--Build/source/texk/web2c/Makefile.in244
-rw-r--r--Build/source/texk/web2c/am/bootstrap.am2
-rw-r--r--Build/source/texk/web2c/am/cweb.am17
-rw-r--r--Build/source/texk/web2c/am/web.am47
-rwxr-xr-xBuild/source/texk/web2c/bibtex.test11
-rwxr-xr-xBuild/source/texk/web2c/ctiedir/ctie.test16
-rwxr-xr-xBuild/source/texk/web2c/cwebdir/cweave.test5
-rwxr-xr-xBuild/source/texk/web2c/dvicopy.test13
-rwxr-xr-xBuild/source/texk/web2c/dvitomp.test12
-rwxr-xr-xBuild/source/texk/web2c/dvitype.test10
-rwxr-xr-xBuild/source/texk/web2c/gftodvi.test9
-rwxr-xr-xBuild/source/texk/web2c/gftopk.test9
-rwxr-xr-xBuild/source/texk/web2c/gftype.test10
-rw-r--r--Build/source/texk/web2c/libmd5/am/md5.am4
-rw-r--r--Build/source/texk/web2c/luatexdir/am/luatangle.am2
-rwxr-xr-xBuild/source/texk/web2c/mft.test9
-rw-r--r--Build/source/texk/web2c/omegaware/am/omegaware.am2
-rwxr-xr-xBuild/source/texk/web2c/patgen.test7
-rwxr-xr-xBuild/source/texk/web2c/pktogf.test10
-rwxr-xr-xBuild/source/texk/web2c/pktype.test7
-rwxr-xr-xBuild/source/texk/web2c/pltotf.test6
-rwxr-xr-xBuild/source/texk/web2c/pooltype.test6
-rwxr-xr-xBuild/source/texk/web2c/tftopl.test7
-rwxr-xr-xBuild/source/texk/web2c/tiedir/tie.test6
-rwxr-xr-xBuild/source/texk/web2c/vftovp.test8
-rwxr-xr-xBuild/source/texk/web2c/vptovf.test7
-rwxr-xr-xBuild/source/texk/web2c/weave.test7
30 files changed, 448 insertions, 123 deletions
diff --git a/Build/source/build-aux/README.TL b/Build/source/build-aux/README.TL
index d3f076d4021..cbfb8097fcb 100644
--- a/Build/source/build-aux/README.TL
+++ b/Build/source/build-aux/README.TL
@@ -2,5 +2,5 @@ Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
You may freely use, modify and/or distribute this file.
This directory is the central repository for auxiliary files, mostly shell
-scripts, needed to build the teTeX / TeX Live (TL) tree. They are used by
-all packages `owned' by the TL tree, i.e., maintained as part of TL.
+scripts, needed to build the TeX Live (TL) tree. They are used by all
+packages `owned' by the TL tree, i.e., maintained as part of TL.
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 7f66194032c..20cac92f2bd 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-11 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * bibtex.test, ... (new): Shell scripts for 'make check' tests.
+
2009-05-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* ac/web2c.ac, configure.ac: Remove --enable-fmtutil option.
@@ -29,6 +33,10 @@
* configure.ac: With the new luatex, what used to be
luatexdir/luafontforge/ is now luatexdir/luafontloader/.
+2009-03-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Adapt to TL2009 build system.
+
2009-03-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp-help.h [eTeX,TeX]: Document -synctex switch.
@@ -92,7 +100,7 @@
* luatexdir/luatex.mk (install-exec): install texlua symlink.
-x2008-05-31 Karl Berry <karl@tug.org>
+2008-05-31 Karl Berry <karl@tug.org>
* Makefile.in (install-programs): stupidly forgot to install
$(basic_engines).
diff --git a/Build/source/texk/web2c/Makefile.am b/Build/source/texk/web2c/Makefile.am
index 812205a18e9..77fedbdb702 100644
--- a/Build/source/texk/web2c/Makefile.am
+++ b/Build/source/texk/web2c/Makefile.am
@@ -24,7 +24,6 @@ noinst_PROGRAMS =
dist_man_MANS =
nodist_man_MANS =
check_PROGRAMS =
-dist_check_SCRIPTS =
TESTS =
EXTRA_LIBRARIES =
EXTRA_DIST = PROJECTS cftests config.h cpascal.h help.h
@@ -170,6 +169,69 @@ include $(srcdir)/synctexdir/am/synctex.am
## libmd5
include $(srcdir)/libmd5/am/md5.am
+## Test data
+##
+EXTRA_DIST += \
+ tests/allbib.aux \
+ tests/allbib.tex \
+ tests/apalike.bst \
+ tests/batch.tex \
+ tests/check.log \
+ tests/cmr10.600gf \
+ tests/cmr10.pk \
+ tests/cmr10.pl \
+ tests/cmr10.tfm \
+ tests/cmr7.tfm \
+ tests/cmr8.tfm \
+ tests/cmti10.tfm \
+ tests/cmtt10.tfm \
+ tests/cmtt8.tfm \
+ tests/dict \
+ tests/eight.tex \
+ tests/end.tex \
+ tests/exampl.aux \
+ tests/exampl.tex \
+ tests/gray.tfm \
+ tests/hello.tex \
+ tests/io.mf \
+ tests/just.texi \
+ tests/label.mp \
+ tests/label.mpx \
+ tests/logo8.tfm \
+ tests/longtfm.tex \
+ tests/magic.tex \
+ tests/memtest.tex \
+ tests/mltextst.tex \
+ tests/mptest.mp \
+ tests/mptest.mpx \
+ tests/one.two.mf \
+ tests/one.two.mp \
+ tests/one.two.tex \
+ tests/online.mf \
+ tests/openout.mp \
+ tests/openout.tex \
+ tests/pagenum.dvi \
+ tests/pagenum.tex \
+ tests/patgen.in \
+ tests/patterns \
+ tests/plain.mft \
+ tests/pplr.dvi \
+ tests/pplr.tfm \
+ tests/ptmr.dvi \
+ tests/ptmr.tfm \
+ tests/ptmr.vf \
+ tests/ptmr.vpl \
+ tests/rpsyr.tfm \
+ tests/rptmr.tfm \
+ tests/story.dvi \
+ tests/testex.err \
+ tests/testex.mp \
+ tests/testex.tex \
+ tests/translate \
+ tests/uno.dos \
+ tests/write18.tex \
+ tests/xampl.bib
+
## Not used
##
EXTRA_DIST += fmtutil.in
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in
index 70dc2e6245c..0ba26f94341 100644
--- a/Build/source/texk/web2c/Makefile.in
+++ b/Build/source/texk/web2c/Makefile.in
@@ -47,8 +47,11 @@ bin_PROGRAMS = tangle$(EXEEXT) ctangle$(EXEEXT) $(am__EXEEXT_5) \
synctex$(EXEEXT)
noinst_PROGRAMS = tangleboot$(EXEEXT) ctangleboot$(EXEEXT)
check_PROGRAMS = md5main$(EXEEXT)
-DIST_COMMON = README $(am__configure_deps) $(dist_check_SCRIPTS) \
- $(dist_man_MANS) $(srcdir)/../../build-aux/config.guess \
+TESTS = tangle.test $(am__EXEEXT_19) ctiedir/ctie.test \
+ cwebdir/cweave.test tiedir/tie.test $(am__append_12) \
+ $(am__append_28) libmd5/md5.test
+DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \
+ $(srcdir)/../../build-aux/config.guess \
$(srcdir)/../../build-aux/config.sub \
$(srcdir)/../../build-aux/depcomp \
$(srcdir)/../../build-aux/install-sh \
@@ -82,35 +85,36 @@ DIST_COMMON = README $(am__configure_deps) $(dist_check_SCRIPTS) \
../../build-aux/texinfo.tex ../../build-aux/ylwrap AUTHORS \
ChangeLog INSTALL NEWS
@WEB_TRUE@am__append_2 = $(web_programs)
-@TEX_TRUE@am__append_3 = tex
-@MF_TRUE@am__append_4 = mf
-@MFN_TRUE@@MF_TRUE@am__append_5 = mf-nowin
-@MP_TRUE@am__append_6 = oldmpost mpost
-@ETEX_TRUE@am__append_7 = etex
-@PDFTEX_TRUE@am__append_8 = pdftex
-@MINGW32_TRUE@am__append_9 = \
+@WEB_TRUE@am__append_3 = $(web_tests)
+@TEX_TRUE@am__append_4 = tex
+@MF_TRUE@am__append_5 = mf
+@MFN_TRUE@@MF_TRUE@am__append_6 = mf-nowin
+@MP_TRUE@am__append_7 = oldmpost mpost
+@ETEX_TRUE@am__append_8 = etex
+@PDFTEX_TRUE@am__append_9 = pdftex
+@MINGW32_TRUE@am__append_10 = \
@MINGW32_TRUE@ pdftexdir/regex/regex.c \
@MINGW32_TRUE@ pdftexdir/regex/regex.h
-@LUATEX_TRUE@am__append_10 = luatex luatangle
-@LUATEX_TRUE@am__append_11 = luatexdir/luatangle.test
-@MINGW32_FALSE@am__append_12 = -DLUA_USE_POSIX
-@XETEX_TRUE@am__append_13 = xetex
-@XETEX_MACOSX_TRUE@am__append_14 = -DXETEX_MAC
-@XETEX_MACOSX_TRUE@am__append_15 = libxetexmm.a
-@XETEX_MACOSX_FALSE@am__append_16 = -DXETEX_OTHER $(XPDF_INCLUDES) \
+@LUATEX_TRUE@am__append_11 = luatex luatangle
+@LUATEX_TRUE@am__append_12 = luatexdir/luatangle.test
+@MINGW32_FALSE@am__append_13 = -DLUA_USE_POSIX
+@XETEX_TRUE@am__append_14 = xetex
+@XETEX_MACOSX_TRUE@am__append_15 = -DXETEX_MAC
+@XETEX_MACOSX_TRUE@am__append_16 = libxetexmm.a
+@XETEX_MACOSX_FALSE@am__append_17 = -DXETEX_OTHER $(XPDF_INCLUDES) \
@XETEX_MACOSX_FALSE@ $(LIBPNG_INCLUDES) $(FONTCONFIG_INCLUDES)
-@XETEX_MACOSX_FALSE@am__append_17 = $(XPDF_LIBS) $(LIBPNG_LIBS) $(FONTCONFIG_LIBS)
-@XETEX_MACOSX_FALSE@am__append_18 = $(XPDF_DEPEND) $(LIBPNG_DEPEND)
-@XETEX_GRAPHITE_TRUE@am__append_19 = -DXETEX_GRAPHITE $(GRAPHITE_INCLUDES)
-@XETEX_GRAPHITE_TRUE@am__append_20 = $(GRAPHITE_LIBS)
-@XETEX_GRAPHITE_TRUE@am__append_21 = $(GRAPHITE_DEPEND)
-@XETEX_MACOSX_TRUE@am__append_22 = \
+@XETEX_MACOSX_FALSE@am__append_18 = $(XPDF_LIBS) $(LIBPNG_LIBS) $(FONTCONFIG_LIBS)
+@XETEX_MACOSX_FALSE@am__append_19 = $(XPDF_DEPEND) $(LIBPNG_DEPEND)
+@XETEX_GRAPHITE_TRUE@am__append_20 = -DXETEX_GRAPHITE $(GRAPHITE_INCLUDES)
+@XETEX_GRAPHITE_TRUE@am__append_21 = $(GRAPHITE_LIBS)
+@XETEX_GRAPHITE_TRUE@am__append_22 = $(GRAPHITE_DEPEND)
+@XETEX_MACOSX_TRUE@am__append_23 = \
@XETEX_MACOSX_TRUE@ xetexdir/XeTeXFontInst_Mac.cpp \
@XETEX_MACOSX_TRUE@ xetexdir/XeTeXFontInst_Mac.h \
@XETEX_MACOSX_TRUE@ xetexdir/XeTeX_mac.c
-@XETEX_MACOSX_FALSE@am__append_23 = \
+@XETEX_MACOSX_FALSE@am__append_24 = \
@XETEX_MACOSX_FALSE@ xetexdir/XeTeXFontMgr_FC.cpp \
@XETEX_MACOSX_FALSE@ xetexdir/XeTeXFontMgr_FC.h \
@XETEX_MACOSX_FALSE@ xetexdir/XeTeX_pic.c \
@@ -127,30 +131,30 @@ DIST_COMMON = README $(am__configure_deps) $(dist_check_SCRIPTS) \
@XETEX_MACOSX_FALSE@ xetexdir/pngimage.c \
@XETEX_MACOSX_FALSE@ xetexdir/pngimage.h
-@XETEX_GRAPHITE_TRUE@am__append_24 = \
+@XETEX_GRAPHITE_TRUE@am__append_25 = \
@XETEX_GRAPHITE_TRUE@ xetexdir/XeTeXGrLayout.cpp \
@XETEX_GRAPHITE_TRUE@ xetexdir/XeTeXGrLayout.h
-@OTANGLE_TRUE@am__append_25 = $(omegaware_tools)
-@OMFONTS_FALSE@@OTANGLE_TRUE@am__append_26 = $(omegaware_font_tools)
-@OTANGLE_TRUE@am__append_27 = omegaware/otangle.test
-@ALEPH_TRUE@am__append_28 = aleph
-@TEX_SYNCTEX_TRUE@am__append_29 = -I$(srcdir)/synctexdir $(ZLIB_INCLUDES)
-@TEX_SYNCTEX_TRUE@am__append_30 = $(ZLIB_LIBS)
-@TEX_SYNCTEX_TRUE@am__append_31 = \
+@OTANGLE_TRUE@am__append_26 = $(omegaware_tools)
+@OMFONTS_FALSE@@OTANGLE_TRUE@am__append_27 = $(omegaware_font_tools)
+@OTANGLE_TRUE@am__append_28 = omegaware/otangle.test
+@ALEPH_TRUE@am__append_29 = aleph
+@TEX_SYNCTEX_TRUE@am__append_30 = -I$(srcdir)/synctexdir $(ZLIB_INCLUDES)
+@TEX_SYNCTEX_TRUE@am__append_31 = $(ZLIB_LIBS)
+@TEX_SYNCTEX_TRUE@am__append_32 = \
@TEX_SYNCTEX_TRUE@ synctex.c
-@ETEX_SYNCTEX_TRUE@am__append_32 = -I$(srcdir)/synctexdir $(ZLIB_INCLUDES)
-@ETEX_SYNCTEX_TRUE@am__append_33 = $(ZLIB_LIBS)
-@ETEX_SYNCTEX_TRUE@am__append_34 = \
+@ETEX_SYNCTEX_TRUE@am__append_33 = -I$(srcdir)/synctexdir $(ZLIB_INCLUDES)
+@ETEX_SYNCTEX_TRUE@am__append_34 = $(ZLIB_LIBS)
+@ETEX_SYNCTEX_TRUE@am__append_35 = \
@ETEX_SYNCTEX_TRUE@ synctex-e.c
-@PDFTEX_SYNCTEX_TRUE@am__append_35 = -I$(srcdir)/synctexdir
-@PDFTEX_SYNCTEX_TRUE@am__append_36 = \
+@PDFTEX_SYNCTEX_TRUE@am__append_36 = -I$(srcdir)/synctexdir
+@PDFTEX_SYNCTEX_TRUE@am__append_37 = \
@PDFTEX_SYNCTEX_TRUE@ synctex-pdf.c
-@XETEX_SYNCTEX_TRUE@am__append_37 = -I$(srcdir)/synctexdir
-@XETEX_SYNCTEX_TRUE@am__append_38 = \
+@XETEX_SYNCTEX_TRUE@am__append_38 = -I$(srcdir)/synctexdir
+@XETEX_SYNCTEX_TRUE@am__append_39 = \
@XETEX_SYNCTEX_TRUE@ synctex-xe.c
subdir = .
@@ -773,6 +777,12 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
+am__EXEEXT_17 = bibtex.test dvicopy.test dvitomp.test dvitype.test \
+ gftodvi.test gftopk.test gftype.test mft.test patgen.test \
+ pktogf.test pktype.test pltotf.test pooltype.test tftopl.test \
+ vftovp.test vptovf.test weave.test
+am__EXEEXT_18 = $(am__EXEEXT_17)
+@WEB_TRUE@am__EXEEXT_19 = $(am__EXEEXT_18)
DIST_SUBDIRS = doc lib man mpware web2c . window omegafonts otps
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -967,35 +977,32 @@ SUBDIRS = doc lib man mpware web2c . window $(am__append_1) otps
proglib = lib/lib.a
dist_man_MANS = synctexdir/man1/synctex.1 synctexdir/man5/synctex.5
nodist_man_MANS = ctiedir/ctie.1 tiedir/tie.1
-dist_check_SCRIPTS = tangle.test luatexdir/luatangle.test \
- omegaware/otangle.test libmd5/md5.test
-TESTS = tangle.test tiedir/tie.test $(am__append_11) $(am__append_27) \
- libmd5/md5.test
EXTRA_LIBRARIES = libmf.a liboldmpost.a libmplib.a libpdftex.a \
liblua51.a libzzip.a libluasocket.a libluamisc.a libff.a \
libluatex.a libxetex.a libxetexmm.a libmd5.a
EXTRA_DIST = PROJECTS cftests config.h cpascal.h help.h tangle.web \
tangle.ch tangleboot.p cwebdir ctangleboot.c cwebboot.c \
- $(web_programs:=.web) $(web_programs:=.ch) ctiedir tiedir \
- lib/mfmpi386.asm lib/mfmpw32.c lib/texmfmp.c texmfmem.h \
- texmfmp-help.h texmfmp.h $(tex_ch_srcs) lib/texmfmp.c \
- tmf-pool.h mf.web mf-binpool.ch mf.ch mftalk.h lib/texmfmp.c \
- tmf-pool.h mp.web mp.ch lib/texmfmp.c mpdir/mp.defines \
- mpdir/mplib.h metapost.mk mpdir/Makefile.in.orig \
- mpdir/mpostlib.mk mplibdir/ChangeLog $(mpost_web) \
- $(libmplib_web) mplibdir/lmplib.c $(etex_web_srcs) \
- $(etex_ch_srcs) etexdir/etexextra.in lib/texmfmp.c tmf-pool.h \
- etexdir/ChangeLog etexdir/INSTALL etexdir/README \
- etexdir/etex_gen.tex etexdir/etex.mak etexdir/etex.mk \
- $(pdftex_ch_srcs) pdftexdir/pdftex.defines pdftexdir/pdftex.h \
- pdftexdir/pdftexextra.in pdftexdir/ChangeLog pdftexdir/NEWS \
- pdftexdir/README pdftexdir/change-files.txt \
- pdftexdir/pdftex.mak pdftexdir/Makefile.in.orig \
- pdftexdir/pdftex.mk pdftexdir/pdftexlib.mk \
- pdftexdir/regex/COPYING.LIB pdftexdir/regex/README \
- $(luatex_sources) luatexdir/luatex.defines \
- luatexdir/luatexextra.in luatexdir/ptexlib.h \
- $(luatangle_sources) luatexdir/lua51/Makefile \
+ tangle.test $(web_programs:=.web) $(web_programs:=.ch) \
+ $(web_tests) ctiedir tiedir lib/mfmpi386.asm lib/mfmpw32.c \
+ lib/texmfmp.c texmfmem.h texmfmp-help.h texmfmp.h \
+ $(tex_ch_srcs) lib/texmfmp.c tmf-pool.h mf.web mf-binpool.ch \
+ mf.ch mftalk.h lib/texmfmp.c tmf-pool.h mp.web mp.ch \
+ lib/texmfmp.c mpdir/mp.defines mpdir/mplib.h metapost.mk \
+ mpdir/Makefile.in.orig mpdir/mpostlib.mk mplibdir/ChangeLog \
+ $(mpost_web) $(libmplib_web) mplibdir/lmplib.c \
+ $(etex_web_srcs) $(etex_ch_srcs) etexdir/etexextra.in \
+ lib/texmfmp.c tmf-pool.h etexdir/ChangeLog etexdir/INSTALL \
+ etexdir/README etexdir/etex_gen.tex etexdir/etex.mak \
+ etexdir/etex.mk $(pdftex_ch_srcs) pdftexdir/pdftex.defines \
+ pdftexdir/pdftex.h pdftexdir/pdftexextra.in \
+ pdftexdir/ChangeLog pdftexdir/NEWS pdftexdir/README \
+ pdftexdir/change-files.txt pdftexdir/pdftex.mak \
+ pdftexdir/Makefile.in.orig pdftexdir/pdftex.mk \
+ pdftexdir/pdftexlib.mk pdftexdir/regex/COPYING.LIB \
+ pdftexdir/regex/README $(luatex_sources) \
+ luatexdir/luatex.defines luatexdir/luatexextra.in \
+ luatexdir/ptexlib.h $(luatangle_sources) \
+ luatexdir/luatangle.test luatexdir/lua51/Makefile \
luatexdir/lua51/liolib.c luatexdir/lua51/lua.c \
luatexdir/lua51/luac.c luatexdir/lua51/print.c \
luatexdir/zziplib/COPYING.LIB luatexdir/zziplib/ChangeLog \
@@ -1122,31 +1129,58 @@ EXTRA_DIST = PROJECTS cftests config.h cpascal.h help.h tangle.web \
xetexdir/withenable.ac xetexdir/xetex.mk omegaware/ChangeLog \
$(odvicopy_sources) $(odvitype_sources) $(ofm2opl_sources) \
$(opl2ofm_sources) $(otangle_sources) $(ovf2ovp_sources) \
- $(ovp2ovf_sources) $(aleph_web_srcs) $(aleph_ch_srcs) \
- lib/texmfmp.c alephdir/ChangeLog alephdir/Makefile \
- alephdir/aleph.defines alephdir/aleph.version \
- alephdir/eomega.ech alephdir/etex.ch alephdir/omega.ch0 \
- alephdir/omega.ch1 alephdir/omega.ch2 alephdir/omxml.ch \
- alephdir/aleph.mk synctexdir/INSTALL synctexdir/Makefile \
- synctexdir/Makefile.in synctexdir/README.txt \
- synctexdir/synctex-common.h synctexdir/synctex-convert.sh \
- synctexdir/synctex.c synctexdir/synctex.defines \
- synctexdir/synctex.h synctexdir/synctex-mem.ch0 \
- synctexdir/synctex-mem.ch1 synctexdir/synctex-mem.ch2 \
- synctexdir/synctex-rec.ch0 synctexdir/synctex-rec.ch1 \
- synctexdir/synctex-rec.ch2 synctexdir/synctex-e-mem.ch0 \
- synctexdir/synctex-e-mem.ch1 synctexdir/synctex-e-rec.ch0 \
- synctexdir/synctex-e-rec.ch1 synctexdir/synctex-pdf-rec.ch2 \
- synctexdir/synctex-xe-mem.ch2 synctexdir/synctex-xe-rec.ch2 \
- synctexdir/synctex-xe-rec.ch3 synctexdir/synctex.mk fmtutil.in \
- Makefile.in.orig configure.in.orig
+ $(ovp2ovf_sources) omegaware/otangle.test $(aleph_web_srcs) \
+ $(aleph_ch_srcs) lib/texmfmp.c alephdir/ChangeLog \
+ alephdir/Makefile alephdir/aleph.defines \
+ alephdir/aleph.version alephdir/eomega.ech alephdir/etex.ch \
+ alephdir/omega.ch0 alephdir/omega.ch1 alephdir/omega.ch2 \
+ alephdir/omxml.ch alephdir/aleph.mk synctexdir/INSTALL \
+ synctexdir/Makefile synctexdir/Makefile.in \
+ synctexdir/README.txt synctexdir/synctex-common.h \
+ synctexdir/synctex-convert.sh synctexdir/synctex.c \
+ synctexdir/synctex.defines synctexdir/synctex.h \
+ synctexdir/synctex-mem.ch0 synctexdir/synctex-mem.ch1 \
+ synctexdir/synctex-mem.ch2 synctexdir/synctex-rec.ch0 \
+ synctexdir/synctex-rec.ch1 synctexdir/synctex-rec.ch2 \
+ synctexdir/synctex-e-mem.ch0 synctexdir/synctex-e-mem.ch1 \
+ synctexdir/synctex-e-rec.ch0 synctexdir/synctex-e-rec.ch1 \
+ synctexdir/synctex-pdf-rec.ch2 synctexdir/synctex-xe-mem.ch2 \
+ synctexdir/synctex-xe-rec.ch2 synctexdir/synctex-xe-rec.ch3 \
+ synctexdir/synctex.mk libmd5/md5.test tests/allbib.aux \
+ tests/allbib.tex tests/apalike.bst tests/batch.tex \
+ tests/check.log tests/cmr10.600gf tests/cmr10.pk \
+ tests/cmr10.pl tests/cmr10.tfm tests/cmr7.tfm tests/cmr8.tfm \
+ tests/cmti10.tfm tests/cmtt10.tfm tests/cmtt8.tfm tests/dict \
+ tests/eight.tex tests/end.tex tests/exampl.aux \
+ tests/exampl.tex tests/gray.tfm tests/hello.tex tests/io.mf \
+ tests/just.texi tests/label.mp tests/label.mpx tests/logo8.tfm \
+ tests/longtfm.tex tests/magic.tex tests/memtest.tex \
+ tests/mltextst.tex tests/mptest.mp tests/mptest.mpx \
+ tests/one.two.mf tests/one.two.mp tests/one.two.tex \
+ tests/online.mf tests/openout.mp tests/openout.tex \
+ tests/pagenum.dvi tests/pagenum.tex tests/patgen.in \
+ tests/patterns tests/plain.mft tests/pplr.dvi tests/pplr.tfm \
+ tests/ptmr.dvi tests/ptmr.tfm tests/ptmr.vf tests/ptmr.vpl \
+ tests/rpsyr.tfm tests/rptmr.tfm tests/story.dvi \
+ tests/testex.err tests/testex.mp tests/testex.tex \
+ tests/translate tests/uno.dos tests/write18.tex \
+ tests/xampl.bib fmtutil.in Makefile.in.orig configure.in.orig
DISTCLEANFILES = $(EXTRA_LIBRARIES) tangle.c tangle.h tangle.p \
tangle-web2c stamp-tangle tangleboot.c tangleboot.h ctangle.c \
cweb.c stamp-ctangle cftest.p $(web_programs:=.c) \
$(web_programs:=.h) $(web_programs:=.p) \
- $(web_programs:=-web2c) ctie.c cweave.c tie.c tie.outc \
- tie.outm $(nodist_tex_SOURCES) tex-final.ch tex-web2c tex.p \
- tex.pool tex-tangle $(nodist_libmf_a_SOURCES) mfextra.c \
+ $(web_programs:=-web2c) tests/xexampl.aux tests/xexampl.bbl \
+ tests/xexampl.blg tests/xstory.dvi tests/xpplr.dvi ptmr.mpx \
+ tests/xptmr.mpx tests/xstory.mpx tests/xstory.dvityp \
+ tests/xpagenum.typ cmr10.dvi tests/xcmr10.dvi cmr10.pk \
+ tests/xcmr10.pk tests/xcmr10.gft1 tests/xcmr10.gft2 io.tex \
+ tests/io.tex tests/xpatout pattmp.4 cmr10.gf \
+ tests/xcmr10.600gf tests/xcmr10.pktyp tests/xcmr10.tfm \
+ tests/xtexpool.typ tests/xcmr10.pl tests/xptmr.vpl \
+ tests/xptmr.tfm tests/xptmr.vf pooltype.tex ctie.c cweave.c \
+ tie.c ctie.outc ctie.outm common.tex common.scn common.idx \
+ tie.outc tie.outm $(nodist_tex_SOURCES) tex-final.ch tex-web2c \
+ tex.p tex.pool tex-tangle $(nodist_libmf_a_SOURCES) mfextra.c \
mf-final.ch mf-web2c mf.p mf.pool mf-tangle \
$(nodist_oldmpost_SOURCES) mp-web2c mp.p mp.pool mp-tangle \
$(nodist_mpost_SOURCES) mpxout-ctangle \
@@ -1210,17 +1244,18 @@ nodist_tftopl_SOURCES = tftopl.c tftopl.h
nodist_vftovp_SOURCES = vftovp.c vftovp.h
nodist_vptovf_SOURCES = vptovf.c vptovf.h
nodist_weave_SOURCES = weave.c weave.h
+web_tests = $(web_programs:=.test)
nodist_ctie_SOURCES = ctie.c
nodist_cweave_SOURCES = cweave.c cweb.c
nodist_tie_SOURCES = tie.c
-tex_CPPFLAGS = $(am__append_29)
+tex_CPPFLAGS = $(am__append_30)
# With --enable-ipc, TeX may need to link with -lsocket.
-tex_LDADD = $(LDADD) $(ipc_socketlibs) $(am__append_30)
+tex_LDADD = $(LDADD) $(ipc_socketlibs) $(am__append_31)
# TeX C sources
tex_c_h = texini.c tex0.c tex1.c tex2.c texcoerce.h texd.h
-nodist_tex_SOURCES = $(tex_c_h) tex-pool.c texextra.c $(am__append_31)
+nodist_tex_SOURCES = $(tex_c_h) tex-pool.c texextra.c $(am__append_32)
tex_ch_srcs = \
tex.web \
tex.ch \
@@ -1274,15 +1309,15 @@ psout_c_h = mppsout.h psout.c mplibps.h
svgout_c_h = mplibsvg.h mpsvgout.h svgout.c
libmplib_web = mplibdir/mp.w mplibdir/psout.w mplibdir/svgout.w \
mplibdir/memio.w mplibdir/tfmin.w
-etex_CPPFLAGS = $(am__append_32)
+etex_CPPFLAGS = $(am__append_33)
# With --enable-ipc, e-TeX may need to link with -lsocket.
-etex_LDADD = $(LDADD) $(ipc_socketlibs) $(am__append_33)
+etex_LDADD = $(LDADD) $(ipc_socketlibs) $(am__append_34)
# e-TeX C sources
etex_c_h = etexini.c etex0.c etex1.c etex2.c etexcoerce.h etexd.h
nodist_etex_SOURCES = $(etex_c_h) etex-pool.c etexextra.c \
- etexdir/etexextra.h $(am__append_34)
+ etexdir/etexextra.h $(am__append_35)
etex_web_srcs = \
tex.web \
etexdir/etex.ch \
@@ -1305,12 +1340,12 @@ pdftex_dependencies = $(proglib) $(LIBPNG_DEPEND) $(ZLIB_DEPEND) \
$(XPDF_DEPEND) $(OBSDCOMPAT_DEPEND) libmd5.a
nodist_EXTRA_pdftex_SOURCES = dummy.cxx
pdf_tangle = WEBINPUTS=.:$(srcdir)/pdftexdir $(buildenv) $(TANGLE)
-pdftex_CPPFLAGS = $(pdftex_cppflags) $(am__append_35)
+pdftex_CPPFLAGS = $(pdftex_cppflags) $(am__append_36)
pdftex_LDADD = $(pdftex_ldadd) $(LDADD) $(ipc_socketlibs)
pdftex_DEPENDENCIES = $(pdftex_dependencies) libpdftex.a
pdftex_c_h = pdftexini.c pdftex0.c pdftex1.c pdftex2.c pdftex3.c pdftexcoerce.h pdftexd.h
nodist_pdftex_SOURCES = $(pdftex_c_h) pdftex-pool.c pdftexextra.c \
- pdftexdir/pdftexextra.h $(am__append_36)
+ pdftexdir/pdftexextra.h $(am__append_37)
pdftex_ch_srcs = \
pdftexdir/pdftex.web \
pdftexdir/tex.ch0 \
@@ -1330,7 +1365,7 @@ libpdftex_a_SOURCES = pdftexdir/avl.c pdftexdir/avl.h \
pdftexdir/writejbig2.h pdftexdir/writejpg.c \
pdftexdir/writepng.c pdftexdir/writet1.c pdftexdir/writet3.c \
pdftexdir/writettf.c pdftexdir/writettf.h pdftexdir/writezip.c \
- $(am__append_9)
+ $(am__append_10)
EXTRA_libpdftex_a_SOURCES = pdftexdir/macnames.c \
pdftexdir/regex/regcomp.c pdftexdir/regex/regex_internal.c \
pdftexdir/regex/regex_internal.h pdftexdir/regex/regexec.c
@@ -1360,7 +1395,7 @@ nodist_luatex_SOURCES = $(luatex_c_h) luatex-pool.c luatexextra.c luatexdir/luat
luatex_sources = luatexdir/luatex.web luatexdir/luatex.ch
nodist_luatangle_SOURCES = luatangle.c luatangle.h
luatangle_sources = luatexdir/luatangle.web luatexdir/luatangle.ch
-liblua51_a_CPPFLAGS = -I$(top_srcdir)/luatexdir/lua51 $(am__append_12)
+liblua51_a_CPPFLAGS = -I$(top_srcdir)/luatexdir/lua51 $(am__append_13)
liblua51_a_SOURCES = \
luatexdir/lua51/lapi.c \
luatexdir/lua51/lapi.h \
@@ -1742,23 +1777,23 @@ libluatex_a_SOURCES = \
EXTRA_libluatex_a_SOURCES = luatexdir/font/macnames.c
nodist_EXTRA_xetex_SOURCES = dummy.cxx
-libxetex = libxetex.a $(am__append_15)
+libxetex = libxetex.a $(am__append_16)
xetex_cppflags = -DU_STATIC_IMPLEMENTATION -I$(srcdir)/xetexdir \
- $(ICU_INCLUDES) $(TECKIT_INCLUDES) $(am__append_14) \
- $(am__append_16) $(am__append_19) $(FREETYPE2_INCLUDES) \
+ $(ICU_INCLUDES) $(TECKIT_INCLUDES) $(am__append_15) \
+ $(am__append_17) $(am__append_20) $(FREETYPE2_INCLUDES) \
$(ZLIB_INCLUDES)
-xetex_ldadd = $(libxetex) $(ICU_LIBS) $(TECKIT_LIBS) $(am__append_17) \
- $(am__append_20) $(FREETYPE2_LIBS) $(ZLIB_LIBS)
+xetex_ldadd = $(libxetex) $(ICU_LIBS) $(TECKIT_LIBS) $(am__append_18) \
+ $(am__append_21) $(FREETYPE2_LIBS) $(ZLIB_LIBS)
xetex_dependencies = $(proglib) $(ICU_DEPEND) $(TECKIT_DEPEND) \
- $(am__append_18) $(am__append_21) $(FREETYPE2_DEPEND) \
+ $(am__append_19) $(am__append_22) $(FREETYPE2_DEPEND) \
$(ZLIB_DEPEND)
@XETEX_MACOSX_TRUE@xetex_LDFLAGS = -framework Carbon -framework Cocoa -framework QuickTime
-xetex_CPPFLAGS = $(xetex_cppflags) $(am__append_37)
+xetex_CPPFLAGS = $(xetex_cppflags) $(am__append_38)
xetex_LDADD = $(xetex_ldadd) $(LDADD) $(ipc_socketlibs)
xetex_DEPENDENCIES = $(xetex_dependencies) $(libxetex)
xetex_c_h = xetexini.c xetex0.c xetex1.c xetex2.c xetexcoerce.h xetexd.h
nodist_xetex_SOURCES = $(xetex_c_h) xetex_pool.c xetexextra.c \
- xetexdir/xetexextra.h $(am__append_38)
+ xetexdir/xetexextra.h $(am__append_39)
xetex_web_srcs = \
tex.web \
etexdir/etex.ch \
@@ -1782,8 +1817,8 @@ libxetex_a_SOURCES = xetexdir/MathTable.h xetexdir/FontTableCache.cpp \
xetexdir/XeTeXOTMath.h xetexdir/XeTeX_ext.c \
xetexdir/XeTeX_ext.h xetexdir/XeTeXswap.h xetexdir/cmaps.cpp \
xetexdir/cmaps.h xetexdir/sfnt.h xetexdir/trans.c \
- xetexdir/trans.h xetexdir/xetex.h $(am__append_22) \
- $(am__append_23) $(am__append_24)
+ xetexdir/trans.h xetexdir/xetex.h $(am__append_23) \
+ $(am__append_24) $(am__append_25)
libxetexmm_a_CPPFLAGS = $(xetex_cppflags)
libxetexmm_a_CXXFLAGS = -ObjC++
libxetexmm_a_SOURCES = \
@@ -7737,8 +7772,7 @@ distcleancheck: distclean
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
- $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) \
- $(dist_check_SCRIPTS)
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-recursive
all-am: Makefile $(PROGRAMS) $(MANS) c-auto.h ff-config.h
diff --git a/Build/source/texk/web2c/am/bootstrap.am b/Build/source/texk/web2c/am/bootstrap.am
index 9e27314160d..2ffcac6eb5b 100644
--- a/Build/source/texk/web2c/am/bootstrap.am
+++ b/Build/source/texk/web2c/am/bootstrap.am
@@ -104,7 +104,7 @@ DISTCLEANFILES += stamp-ctangle
## Tests
##
-dist_check_SCRIPTS += tangle.test
+EXTRA_DIST += tangle.test
TESTS += tangle.test
diff --git a/Build/source/texk/web2c/am/cweb.am b/Build/source/texk/web2c/am/cweb.am
index 9ae28c722e0..e7c082c4798 100644
--- a/Build/source/texk/web2c/am/cweb.am
+++ b/Build/source/texk/web2c/am/cweb.am
@@ -3,31 +3,34 @@
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
-bin_PROGRAMS += ctie
+bin_PROGRAMS += ctie cweave tie
+EXTRA_DIST += ctiedir tiedir
+
nodist_ctie_SOURCES = ctie.c
-EXTRA_DIST += ctiedir
nodist_man_MANS += ctiedir/ctie.1
ctie.c: ctangle$(EXEEXT) ctiedir/ctie.w ctiedir/ctie-k.ch
CWEBINPUTS=$(srcdir)/ctiedir $(ctangle) ctie.w ctie-k.ch
DISTCLEANFILES += ctie.c
-bin_PROGRAMS += cweave
nodist_cweave_SOURCES = cweave.c cweb.c
cweave.c: ctangle$(EXEEXT) cwebdir/cweave.w cwebdir/cweav-w2c.ch
CWEBINPUTS=$(srcdir)/cwebdir $(ctangle) cweave cweav-w2c
DISTCLEANFILES += cweave.c
-bin_PROGRAMS += tie
nodist_tie_SOURCES = tie.c
-EXTRA_DIST += tiedir
nodist_man_MANS += tiedir/tie.1
tie.c: ctangle$(EXEEXT) tiedir/tie.w tiedir/tie-w2c.ch
CWEBINPUTS=$(srcdir)/tiedir $(ctangle) tie.w tie-w2c.ch
DISTCLEANFILES += tie.c
## Tests
+##
+TESTS += ctiedir/ctie.test cwebdir/cweave.test tiedir/tie.test
-TESTS += tiedir/tie.test
-
+## ctiedir/ctie.test
+DISTCLEANFILES += ctie.outc ctie.outm
+## cwebdir/cweave.test
+DISTCLEANFILES += common.tex common.scn common.idx
+## tiedir/tie.test
DISTCLEANFILES += tie.outc tie.outm
diff --git a/Build/source/texk/web2c/am/web.am b/Build/source/texk/web2c/am/web.am
index 2664d04d4fc..1d5a7275a72 100644
--- a/Build/source/texk/web2c/am/web.am
+++ b/Build/source/texk/web2c/am/web.am
@@ -168,3 +168,50 @@ weave-web2c: $(web2c_depend) weave.p
touch weave.c weave.h
weave.p: tangle$(EXEEXT) weave.web weave.ch
$(tangle) weave weave
+
+
+## Tests
+##
+web_tests = $(web_programs:=.test)
+
+EXTRA_DIST += $(web_tests)
+
+if WEB
+TESTS += $(web_tests)
+endif WEB
+
+## bibtex.test
+DISTCLEANFILES += tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg
+## dvicopy.test
+DISTCLEANFILES += tests/xstory.dvi tests/xpplr.dvi
+## dvitomp.test
+DISTCLEANFILES += ptmr.mpx tests/xptmr.mpx tests/xstory.mpx
+## dvitype.test
+DISTCLEANFILES += tests/xstory.dvityp tests/xpagenum.typ
+## gftodvi.test
+DISTCLEANFILES += cmr10.dvi tests/xcmr10.dvi
+## gftopk.test
+DISTCLEANFILES += cmr10.pk tests/xcmr10.pk
+## gftype.test
+DISTCLEANFILES += tests/xcmr10.gft1 tests/xcmr10.gft2
+## mft.test
+DISTCLEANFILES += io.tex tests/io.tex
+## patgen.test
+DISTCLEANFILES += tests/xpatout pattmp.4
+## pktogf.test
+DISTCLEANFILES += cmr10.gf tests/xcmr10.600gf
+## pktype.test
+DISTCLEANFILES += tests/xcmr10.pktyp
+## pltotf.tes
+DISTCLEANFILES += tests/xcmr10.tfm
+## pooltype.test
+DISTCLEANFILES += tests/xtexpool.typ
+## tftopl.test
+DISTCLEANFILES += tests/xcmr10.pl
+## vftovp.test
+DISTCLEANFILES += tests/xptmr.vpl
+## vptovf.test
+DISTCLEANFILES += tests/xptmr.tfm tests/xptmr.vf
+## weave.test
+DISTCLEANFILES += pooltype.tex
+
diff --git a/Build/source/texk/web2c/bibtex.test b/Build/source/texk/web2c/bibtex.test
new file mode 100755
index 00000000000..26379019f64
--- /dev/null
+++ b/Build/source/texk/web2c/bibtex.test
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+cp $srcdir/tests/exampl.aux tests/xexampl.aux
+
+TEXMFCNF=$srcdir/../kpathsea \
+ BSTINPUTS=$srcdir/tests \
+ BIBINPUTS=$srcdir/tests \
+ ./bibtex tests/xexampl || exit 1
+
diff --git a/Build/source/texk/web2c/ctiedir/ctie.test b/Build/source/texk/web2c/ctiedir/ctie.test
new file mode 100755
index 00000000000..21e3b856200
--- /dev/null
+++ b/Build/source/texk/web2c/ctiedir/ctie.test
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+TEXMFCNF=$srcdir/../kpathsea \
+ CWEBINPUTS=$srcdir/ctiedir \
+ ./ctie -c ctie.outc ctie.tie ctie.cf1 ctie.cf2 ctie.cf3 || exit 1
+
+
+diff ctie.outc $srcdir/ctiedir/ctie.chf.gen || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ CWEBINPUTS=$srcdir/ctiedir \
+ ./ctie -m ctie.outm ctie.tie ctie.cf1 ctie.cf2 ctie.cf3 || exit 1
+
+
+diff ctie.outm $srcdir/ctiedir/ctie.master.gen || exit 1
+
diff --git a/Build/source/texk/web2c/cwebdir/cweave.test b/Build/source/texk/web2c/cwebdir/cweave.test
new file mode 100755
index 00000000000..d8ca91bdd5f
--- /dev/null
+++ b/Build/source/texk/web2c/cwebdir/cweave.test
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+TEXMFCNF=$srcdir/../kpathsea \
+ CWEBINPUTS=$srcdir/cwebdir ./cweave common.w || exit 1
+
diff --git a/Build/source/texk/web2c/dvicopy.test b/Build/source/texk/web2c/dvicopy.test
new file mode 100755
index 00000000000..b9854bfc80d
--- /dev/null
+++ b/Build/source/texk/web2c/dvicopy.test
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./dvicopy $srcdir/tests/story tests/xstory.dvi ## || exit 1
+## failed with: TFM: font 1 = cmbx10(That was a fatal error, my friend.)
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=$srcdir/tests \
+ VFFONTS=$srcdir/tests \
+ ./dvicopy <$srcdir/tests/pplr.dvi >tests/xpplr.dvi 2>&1 || exit 1
+
diff --git a/Build/source/texk/web2c/dvitomp.test b/Build/source/texk/web2c/dvitomp.test
new file mode 100755
index 00000000000..ee783e16424
--- /dev/null
+++ b/Build/source/texk/web2c/dvitomp.test
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./dvitomp $srcdir/tests/story.dvi tests/xstory.mpx ## || exit 1
+## fails with: ./dvitomp: fatal: tfm file `cmbx10' not found.
+
+TEXMFCNF=$srcdir/../kpathsea TFMFONTS=$srcdir/tests VFFONTS=$srcdir/tests: \
+ ./dvitomp $srcdir/tests/ptmr && \
+ mv ptmr.mpx tests/xptmr.mpx || exit 1
+
diff --git a/Build/source/texk/web2c/dvitype.test b/Build/source/texk/web2c/dvitype.test
new file mode 100755
index 00000000000..00fa51ca243
--- /dev/null
+++ b/Build/source/texk/web2c/dvitype.test
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./dvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./dvitype --p=\*.\*.2 $srcdir/tests/pagenum.dvi >tests/xpagenum.typ || exit 1
+
diff --git a/Build/source/texk/web2c/gftodvi.test b/Build/source/texk/web2c/gftodvi.test
new file mode 100755
index 00000000000..6364268c4a5
--- /dev/null
+++ b/Build/source/texk/web2c/gftodvi.test
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=$srcdir/tests \
+ ./gftodvi -verbose $srcdir/tests/cmr10.600gf && \
+ mv cmr10.dvi tests/xcmr10.dvi|| exit 1
+
diff --git a/Build/source/texk/web2c/gftopk.test b/Build/source/texk/web2c/gftopk.test
new file mode 100755
index 00000000000..a7eb42bd6e9
--- /dev/null
+++ b/Build/source/texk/web2c/gftopk.test
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./gftopk -verbose $srcdir/tests/cmr10.600gf tests/xcmr10.pk || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./gftopk $srcdir/tests/cmr10.600gf cmr10.pk && rm cmr10.pk || exit 1
diff --git a/Build/source/texk/web2c/gftype.test b/Build/source/texk/web2c/gftype.test
new file mode 100755
index 00000000000..8f0615ecba7
--- /dev/null
+++ b/Build/source/texk/web2c/gftype.test
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./gftype $srcdir/tests/cmr10.600gf >tests/xcmr10.gft1 || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./gftype -m -i $srcdir/tests/cmr10.600gf >tests/xcmr10.gft2 || exit 1
+
diff --git a/Build/source/texk/web2c/libmd5/am/md5.am b/Build/source/texk/web2c/libmd5/am/md5.am
index 701706dde6e..91a532b9dc2 100644
--- a/Build/source/texk/web2c/libmd5/am/md5.am
+++ b/Build/source/texk/web2c/libmd5/am/md5.am
@@ -12,9 +12,9 @@ libmd5_a_CPPFLAGS = -I$(srcdir)/libmd5
libmd5_a_SOURCES = libmd5/md5.c libmd5/md5.h
## Tests
-
+##
check_PROGRAMS += md5main
-dist_check_SCRIPTS += libmd5/md5.test
+EXTRA_DIST += libmd5/md5.test
TESTS += libmd5/md5.test
diff --git a/Build/source/texk/web2c/luatexdir/am/luatangle.am b/Build/source/texk/web2c/luatexdir/am/luatangle.am
index 63e8d9b3f31..ce96d497093 100644
--- a/Build/source/texk/web2c/luatexdir/am/luatangle.am
+++ b/Build/source/texk/web2c/luatexdir/am/luatangle.am
@@ -27,7 +27,7 @@ DISTCLEANFILES += luatangle.c luatangle.h luatangle-web2c luatangle.p
## Tests
##
-dist_check_SCRIPTS += luatexdir/luatangle.test
+EXTRA_DIST += luatexdir/luatangle.test
if LUATEX
TESTS += luatexdir/luatangle.test
diff --git a/Build/source/texk/web2c/mft.test b/Build/source/texk/web2c/mft.test
new file mode 100755
index 00000000000..68e3f658d71
--- /dev/null
+++ b/Build/source/texk/web2c/mft.test
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./mft $srcdir/tests/io ## && mv -f io.tex tests/io.tex || exit 1
+## fails with: ./mft: fatal: mft file `plain.mft' not found.
+exit 0
+
diff --git a/Build/source/texk/web2c/omegaware/am/omegaware.am b/Build/source/texk/web2c/omegaware/am/omegaware.am
index 5d660aa2b34..8cae810b4ee 100644
--- a/Build/source/texk/web2c/omegaware/am/omegaware.am
+++ b/Build/source/texk/web2c/omegaware/am/omegaware.am
@@ -100,7 +100,7 @@ ovp2ovf.p: tangle$(EXEEXT) $(ovp2ovf_sources)
## Tests
##
-dist_check_SCRIPTS += omegaware/otangle.test
+EXTRA_DIST += omegaware/otangle.test
if OTANGLE
TESTS += omegaware/otangle.test
diff --git a/Build/source/texk/web2c/patgen.test b/Build/source/texk/web2c/patgen.test
new file mode 100755
index 00000000000..ce4fe582ac7
--- /dev/null
+++ b/Build/source/texk/web2c/patgen.test
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+./patgen $srcdir/tests/dict $srcdir/tests/patterns tests/xpatout \
+ $srcdir/tests/translate <$srcdir/tests/patgen.in || exit 1
+
diff --git a/Build/source/texk/web2c/pktogf.test b/Build/source/texk/web2c/pktogf.test
new file mode 100755
index 00000000000..bd9fcd72045
--- /dev/null
+++ b/Build/source/texk/web2c/pktogf.test
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./pktogf -verbose $srcdir/tests/cmr10.pk tests/xcmr10.600gf || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./pktogf $srcdir/tests/cmr10.pk && rm cmr10.gf || exit 1
+
diff --git a/Build/source/texk/web2c/pktype.test b/Build/source/texk/web2c/pktype.test
new file mode 100755
index 00000000000..85bbfc52dca
--- /dev/null
+++ b/Build/source/texk/web2c/pktype.test
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./pktype $srcdir/tests/cmr10.pk >tests/xcmr10.pktyp || exit 1
+
diff --git a/Build/source/texk/web2c/pltotf.test b/Build/source/texk/web2c/pltotf.test
new file mode 100755
index 00000000000..38946d211db
--- /dev/null
+++ b/Build/source/texk/web2c/pltotf.test
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+./pltotf -verbose $srcdir/tests/cmr10 tests/xcmr10 || exit 1
+
diff --git a/Build/source/texk/web2c/pooltype.test b/Build/source/texk/web2c/pooltype.test
new file mode 100755
index 00000000000..f223c205783
--- /dev/null
+++ b/Build/source/texk/web2c/pooltype.test
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+./pooltype tex.pool >tests/xtexpool.typ || exit 1
+
diff --git a/Build/source/texk/web2c/tftopl.test b/Build/source/texk/web2c/tftopl.test
new file mode 100755
index 00000000000..7dfa5a35928
--- /dev/null
+++ b/Build/source/texk/web2c/tftopl.test
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./tftopl -verbose $srcdir/tests/cmr10 tests/xcmr10 || exit 1
+
diff --git a/Build/source/texk/web2c/tiedir/tie.test b/Build/source/texk/web2c/tiedir/tie.test
index 7f25fdc4e64..e2aff6abe5a 100755
--- a/Build/source/texk/web2c/tiedir/tie.test
+++ b/Build/source/texk/web2c/tiedir/tie.test
@@ -1,11 +1,13 @@
#! /bin/sh
-TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir/tiedir \
+TEXMFCNF=$srcdir/../kpathsea \
+ WEBINPUTS=$srcdir/tiedir \
./tie -c tie.outc tie.tie tie.cf1 tie.cf2 tie.cf3 || exit 1
diff tie.outc $srcdir/tiedir/tie.chf.gen || exit 1
-TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir/tiedir \
+TEXMFCNF=$srcdir/../kpathsea \
+ WEBINPUTS=$srcdir/tiedir \
./tie -m tie.outm tie.tie tie.cf1 tie.cf2 tie.cf3 || exit 1
diff tie.outm $srcdir/tiedir/tie.master.gen || exit 1
diff --git a/Build/source/texk/web2c/vftovp.test b/Build/source/texk/web2c/vftovp.test
new file mode 100755
index 00000000000..123385d2dbe
--- /dev/null
+++ b/Build/source/texk/web2c/vftovp.test
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TFMFONTS=$srcdir/tests \
+ ./vftovp -verbose $srcdir/tests/ptmr ptmr tests/xptmr || exit 1
+
diff --git a/Build/source/texk/web2c/vptovf.test b/Build/source/texk/web2c/vptovf.test
new file mode 100755
index 00000000000..a419756af35
--- /dev/null
+++ b/Build/source/texk/web2c/vptovf.test
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./vptovf $srcdir/tests/ptmr tests/xptmr tests/xptmr || exit 1
+
diff --git a/Build/source/texk/web2c/weave.test b/Build/source/texk/web2c/weave.test
new file mode 100755
index 00000000000..ec5b638b5ed
--- /dev/null
+++ b/Build/source/texk/web2c/weave.test
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+test -d tests || mkdir -p tests
+
+TEXMFCNF=$srcdir/../kpathsea WEBINPUTS=$srcdir \
+ ./weave pooltype || exit 1
+