From: Ken Raeburn Date: Wed, 27 May 2009 20:08:28 +0000 (+0000) Subject: Don't re-run test programs to recreate output every time 'check' is built X-Git-Tag: krb5-1.8-alpha1~450 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d3fb587c46aacdb2e2ae0ea816d3517494293e6;p=krb5.git 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 --- diff --git a/src/lib/crypto/aes/Makefile.in b/src/lib/crypto/aes/Makefile.in index 4ed8ef7bf..c817ad9df 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