summaryrefslogtreecommitdiff
path: root/systems/doc/pdftex/tests/22-showstream/Makefile
blob: 52c0d2c0a11b73e4fff402cebf9c7f2f89c56cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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)