summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-05-27 20:08:28 +0000
committerKen Raeburn <raeburn@mit.edu>2009-05-27 20:08:28 +0000
commit8d3fb587c46aacdb2e2ae0ea816d3517494293e6 (patch)
treeb5d4c91da1d1815ac3d7c9fefab7035ffb14a5ec
parent0ef1ec87f3996d995cb4dc03223a1474b2064e5f (diff)
downloadkrb5-8d3fb587c46aacdb2e2ae0ea816d3517494293e6.tar.gz
krb5-8d3fb587c46aacdb2e2ae0ea816d3517494293e6.tar.xz
krb5-8d3fb587c46aacdb2e2ae0ea816d3517494293e6.zip
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
-rw-r--r--src/lib/crypto/aes/Makefile.in12
1 files 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