summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am/web.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/am/web.am')
-rw-r--r--Build/source/texk/web2c/am/web.am15
1 files changed, 7 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/am/web.am b/Build/source/texk/web2c/am/web.am
index b8548dbd1ef..5d4700232fd 100644
--- a/Build/source/texk/web2c/am/web.am
+++ b/Build/source/texk/web2c/am/web.am
@@ -6,6 +6,10 @@
web_programs = bibtex dvicopy dvitype gftodvi gftopk gftype mft \
patgen pktogf pktype pltotf pooltype tftopl vftovp vptovf weave
+## Basic tests, one for each program.
+##
+web_tests = $(web_programs:=.test)
+
if WEB
bin_PROGRAMS += $(web_programs)
endif WEB
@@ -22,9 +26,7 @@ bibtex-web2c: bibtex.p $(web2c_depend) web2c/cvtbib.sed
@$(web2c) bibtex
bibtex.p: tangle$(EXEEXT) bibtex.web bibtex.ch
$(tangle) bibtex bibtex
-bibtex_tests = tests/bibtex-openout-test.pl
-TESTS += $(bibtex_tests)
-EXTRA_DIST += $(bibtex_tests)
+web_tests += tests/bibtex-openout-test.pl
nodist_dvicopy_SOURCES = dvicopy.c dvicopy.h
dvicopy.c dvicopy.h: dvicopy-web2c
@@ -147,15 +149,12 @@ weave-web2c: weave.p $(web2c_depend)
weave.p: tangle$(EXEEXT) weave.web weave.ch
$(tangle) weave weave
-## Tests (basic test for each program, named foo.test).
+## Tests.
##
-web_tests = $(web_programs:=.test)
-
-EXTRA_DIST += $(web_tests)
-
if WEB
TESTS += $(web_tests)
endif WEB
+EXTRA_DIST += $(web_tests)
## bibtex.test
DISTCLEANFILES += tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg