diff options
Diffstat (limited to 'systems/doc/pdftex/tests/22-showstream/Makefile')
-rw-r--r-- | systems/doc/pdftex/tests/22-showstream/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/systems/doc/pdftex/tests/22-showstream/Makefile b/systems/doc/pdftex/tests/22-showstream/Makefile new file mode 100644 index 0000000000..52c0d2c0a1 --- /dev/null +++ b/systems/doc/pdftex/tests/22-showstream/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile 873 2021-11-09 16:13:48Z karl $ +# Public domain. +# Test \showstream. + +include ../Common.mak + +default: test-showstream + +test-showstream: test-showstream-basic test-showstream-only + +# bad return status since normal \show's happen. +test-showstream-basic: test-showstream-basic.tex + ! $(prog) $< + $(MAKE) xray=test-showstream-basic.xray grep-xray + +# good return status since only showstream. +test-showstream-only: test-showstream-only.tex + $(prog) $< + $(MAKE) xray=test-showstream-only.xray grep-xray + +# the .xray files have the same contents in both contents +grep-xray: + grep 42 $(xray) >/dev/null + grep '\\undefined=undefined' $(xray) >/dev/null + grep '\\par=\\par' $(xray) >/dev/null + +clean: + $(clean) |