From: Ian Jackson Date: Wed, 1 Jan 2020 13:03:57 +0000 (+0000) Subject: Makefiles: Rename test stamp files to .tconfirm (from .confirm) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c425901135b4ec570f5b5eac72306425e0c66153;p=secnet.git Makefiles: Rename test stamp files to .tconfirm (from .confirm) This seems to go with .trun and will make talking about them in patterns etc. a bit more principled. Signed-off-by: Ian Jackson --- diff --git a/.gitignore b/.gitignore index 03c35c1..b89fa55 100644 --- a/.gitignore +++ b/.gitignore @@ -8,9 +8,9 @@ pubkeys.yy.[ch] /version.c /secnet /eax-*.trun -/eax-*-test.confirm +/eax-*.tconfirm /ipaddrset-test.new -/ipaddrset.confirm +/ipaddrset.tconfirm /config.log /config.h @@ -22,7 +22,7 @@ Makefile /test-common.make msgcode.trun -msgcode-test.confirm +msgcode.tconfirm autom4te.cache diff --git a/Dir.sd.mk b/Dir.sd.mk index 507235f..6d2aa41 100644 --- a/Dir.sd.mk +++ b/Dir.sd.mk @@ -122,11 +122,11 @@ endif TESTDIRS=stest mtest -&TARGETS_check = eax-aes-test.confirm eax-serpent-test.confirm \ - eax-serpentbe-test.confirm ipaddrset.confirm +&TARGETS_check = eax-aes.tconfirm eax-serpent.tconfirm \ + eax-serpentbe.tconfirm ipaddrset.tconfirm &TARGETS_fullcheck += $(&TARGETS_check) -&TARGETS_fullcheck += msgcode-test.confirm +&TARGETS_fullcheck += msgcode.tconfirm RECHECK_RM += $(&TARGETS_check) RECHECK_RM += $(addsuffix /d-*, $(TESTDIRS)); @@ -158,7 +158,7 @@ version.c: FORCE eax-%.trun: eax-%-test.o eax-test.o %.o $(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $^ -eax-%-test.confirm: eax-%.trun eax-%-test.vectors +eax-%.tconfirm: eax-%.trun eax-%-test.vectors ./$< <$(srcdir)/eax-$*-test.vectors >$@.new mv -f $@.new $@ @@ -167,11 +167,11 @@ eax-%-test.confirm: eax-%.trun eax-%-test.vectors msgcode.trun: msgcode-test.o $(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $^ -msgcode-test.confirm: msgcode.trun - ./msgcode-test +msgcode.tconfirm: msgcode.trun + ./msgcode.trun touch $@ -ipaddrset.confirm: ipaddrset-test.py ipaddrset.py ipaddrset-test.expected +ipaddrset.tconfirm: ipaddrset-test.py ipaddrset.py ipaddrset-test.expected $(srcdir)/ipaddrset-test.py >ipaddrset-test.new diff -u $(srcdir)/ipaddrset-test.expected ipaddrset-test.new touch $@ @@ -215,9 +215,9 @@ install-force: clean:: $(RM) -f *.o *.yy.[ch] *.tab.[ch] core version.c - $(RM) -f *.pyc *~ eax-*-test.confirm eax-*.trun + $(RM) -f *.pyc *~ eax-*.tconfirm eax-*.trun $(RM) -rf __pycache__ - $(RM) -f msgcode-test.confirm msgcode.trun + $(RM) -f msgcode.tconfirm msgcode.trun realclean:: clean $(RM) -f *~ Makefile config.h \