summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir/am/ptex.am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-04-21 15:10:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-04-21 15:10:36 +0000
commit198ff1e8cf12f1ebfed3134b2c1f8f640d615d19 (patch)
treed40e0e5bc00aad7ae4aece7750d0000838815515 /Build/source/texk/web2c/ptexdir/am/ptex.am
parent97aaaf3c94bd0e59a6e23015d8713c29bb0382a1 (diff)
add basic tests for pTeX tools
git-svn-id: svn://tug.org/texlive/trunk@17954 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/am/ptex.am')
-rw-r--r--Build/source/texk/web2c/ptexdir/am/ptex.am35
1 files changed, 21 insertions, 14 deletions
diff --git a/Build/source/texk/web2c/ptexdir/am/ptex.am b/Build/source/texk/web2c/ptexdir/am/ptex.am
index 876474fee69..05a20f9f90c 100644
--- a/Build/source/texk/web2c/ptexdir/am/ptex.am
+++ b/Build/source/texk/web2c/ptexdir/am/ptex.am
@@ -5,11 +5,19 @@
ptex_cppflags = $(PTEXENC_INCLUDES)
ptex_ldadd = $(pproglib) $(PTEXENC_LIBS) $(LDADD)
+p_tangle = WEBINPUTS=.:$(srcdir)/ptexdir:$(srcdir) $(buildenv) $(TANGLE)
-pweb_programs = pbibtex pdvitype ptftopl ppltotf
+pweb_programs = pbibtex pdvitype ppltotf ptftopl
-p_tangle = WEBINPUTS=.:$(srcdir)/ptexdir:$(srcdir) $(buildenv) $(TANGLE)
+# pTeX Tests
+#
+ptex_tests = \
+ ptexdir/pdvitype.test \
+ ptexdir/ppltotf.test \
+ ptexdir/ptftopl.test \
+ ptexdir/ptrip.test
+EXTRA_DIST += $(ptex_tests)
DISTCLEANFILES += $(pweb_programs:=.c) $(pweb_programs:=.h) \
$(pweb_programs:=.p) $(pweb_programs:=-web2c) $(pweb_programs:=.web)
@@ -168,32 +176,31 @@ EXTRA_DIST += \
ptexdir/INSTALL.txt \
ptexdir/README.txt
-# pTeX Tests
-#
-ptex_tests = ptexdir/ptrip.test
-
-EXTRA_DIST += $(ptex_tests)
-
if PTEX
TESTS += $(ptex_tests)
check_PROGRAMS += dvitype pltotf tftopl
TRIPTRAP += ptrip.diffs
endif PTEX
-DISTCLEANFILES += ptrip.diffs
+## Test data and results
+##
+## ptexdir/pdvitype.test
+DISTCLEANFILES += tests/xstory.dvityp tests/xpagenum.typ
+## ptexdir/ppltotf.test
+DISTCLEANFILES += tests/xcmr10.tfm
+## ptexdir/ptftopl.test
+DISTCLEANFILES += tests/xcmr10.pl
+## ptexdir/ptrip.test
+EXTRA_DIST += ptexdir/ptrip.diffs
.PHONY: ptrip-clean
clean-local:: ptrip-clean
-# ptrip.test
ptrip-clean:
rm -f trip.tfm trip.pl trip.tex trip.fmt ptripin.fot ptripin.log
rm -f ptrip.fot ptrip.log trip.log trip.dvi trip.typ
rm -f ptrip.fot ptrip.log ptrip.dvi ptrip.typ
rm -f tripos.tex 8terminal.tex
rm -rf tfm
-
-## Test data
-##
-EXTRA_DIST += ptexdir/ptrip.diffs
+DISTCLEANFILES += ptrip.diffs
## Eventually delete these files
##