From 8d3fb587c46aacdb2e2ae0ea816d3517494293e6 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 27 May 2009 20:08:28 +0000 Subject: Don't re-run test programs to recreate output every time 'check' is built git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22393 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/aes/Makefile.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/lib/crypto/aes/Makefile.in b/src/lib/crypto/aes/Makefile.in index 4ed8ef7bff..c817ad9df2 100644 --- a/src/lib/crypto/aes/Makefile.in +++ b/src/lib/crypto/aes/Makefile.in @@ -48,20 +48,22 @@ depend:: $(SRCS) aes-gen: aes-gen.o $(GEN_OBJS) $(CC_LINK) -o aes-gen aes-gen.o $(GEN_OBJS) -run-aes-gen: aes-gen +kresults.out: aes-gen ./aes-gen > kresults.out -check:: run-aes-gen +check:: kresults.out aes-test: aes-test.$(OBJEXT) $(CRYPTO_DEPLIB) $(CC_LINK) -o aes-test aes-test.$(OBJEXT) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) check:: run-aes-test -run-aes-test: aes-test - $(RUN_SETUP) $(VALGRIND) ./aes-test -k > vk.txt +run-aes-test: vk.txt vt.txt cmp vk.txt $(srcdir)/expect-vk.txt - $(RUN_SETUP) $(VALGRIND) ./aes-test > vt.txt cmp vt.txt $(srcdir)/expect-vt.txt +vk.txt: aes-test + $(RUN_SETUP) $(VALGRIND) ./aes-test -k > vk.txt +vt.txt: + $(RUN_SETUP) $(VALGRIND) ./aes-test > vt.txt clean-unix:: clean-libobjs -- cgit