diff options
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/tests/10-moddate/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/pdftex/tests/10-moddate/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/pdftex/tests/10-moddate/Makefile b/Master/texmf-dist/doc/pdftex/tests/10-moddate/Makefile new file mode 100644 index 00000000000..8f32955d46e --- /dev/null +++ b/Master/texmf-dist/doc/pdftex/tests/10-moddate/Makefile @@ -0,0 +1,27 @@ +# $Id: Makefile 808 2018-11-13 18:39:00Z karl $ +# Public domain. + +include ../Common.mak + +default: test-moddate test-moddate-abs + +test-moddate: + # regular + $(prog) test-moddate.tex + grep "D:2[0-9].*-.*'" test-moddate.log >/dev/null + # + # just one envvar, still regular. + SOURCE_DATE_EPOCH=1 $(prog) test-moddate.tex + grep "D:2[0-9].*-.*'" test-moddate.log >/dev/null + # + # both envvars, force utc. + FORCE_SOURCE_DATE=1 SOURCE_DATE_EPOCH=1 $(prog) test-moddate.tex + grep "D:2[0-9].*Z " test-moddate.log >/dev/null + +test-moddate-abs: + # should fail due to openin_any. + openin_any=p $(prog) test-moddate-abs.tex + ! grep "D:2[0-9]" test-moddate-abs.log >/dev/null + +clean: + $(clean) |