From 63e3aedf8c1ac8481dd9da8891acb09a937e1d45 Mon Sep 17 00:00:00 2001 From: Asanka Herath Date: Fri, 18 Jun 2010 17:59:00 -0400 Subject: [PATCH] Windows: Fix lib/hcrypto tests --- lib/hcrypto/NTMakefile | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/lib/hcrypto/NTMakefile b/lib/hcrypto/NTMakefile index 2826b40be..2fc7a9675 100644 --- a/lib/hcrypto/NTMakefile +++ b/lib/hcrypto/NTMakefile @@ -167,6 +167,10 @@ $(OBJ)\destest.exe: $(OBJ)\destest.obj $(TESTLIB) $(LIBROKEN) $(EXECONLINK) $(EXEPREP_NODIST) +$(OBJ)\example_evp_cipher.exe: $(OBJ)\example_evp_cipher.obj $(TESTLIB) $(LIBHEIMDAL) $(LIBROKEN) + $(EXECONLINK) + $(EXEPREP_NODIST) + $(OBJ)\mdtest.exe: $(OBJ)\mdtest.obj $(LIBHEIMDAL) $(LIBROKEN) $(EXECONLINK) $(EXEPREP_NODIST) @@ -183,7 +187,7 @@ $(OBJ)\test_bn.exe: $(OBJ)\test_bn.obj $(LIBHEIMDAL) $(LIBROKEN) $(EXECONLINK) $(EXEPREP_NODIST) -$(OBJ)\test_cipher.exe: $(OBJ)\test_cipher.obj $(LIBHEIMDAL) $(LIBROKEN) $(LIBVERS) +$(OBJ)\test_cipher.exe: $(OBJ)\test_cipher.obj $(TESTLIB) $(LIBHEIMDAL) $(LIBROKEN) $(LIBVERS) $(EXECONLINK) $(EXEPREP_NODIST) @@ -219,11 +223,17 @@ $(OBJ)\test_rand.exe: $(OBJ)\test_rand.obj $(LIBHEIMDAL) $(LIBROKEN) $(LIBVERS) $(EXECONLINK) $(EXEPREP_NODIST) +SRCDIR1=$(SRCDIR:\=/) +SRCDIR2=$(SRCDIR1::=) + $(OBJ)\test_crypto.sh: test_crypto.in NTMakefile - $(SED) -e "s,[@]srcdir[@],$(SRCDIR),g" -e "s,[@]exeext[@],.exe,g" < test_crypto.in > $@ + $(SED) -e "s,[@]srcdir[@],/$(SRCDIR2),g" -e "s,[@]exeext[@],.exe,g" < test_crypto.in > $@ || $(RM) $@ test-run: cd $(OBJ) +!ifdef SH + $(SH) test_crypto.sh +!endif destest.exe mdtest.exe rc2test.exe @@ -235,11 +245,8 @@ test-run: test_imath.exe test_pkcs5.exe test_pkcs12.exe -# test_rsa.exe -# test_dh.exe -!ifdef SH - $(SH) test_crypto.sh -!endif + test_rsa.exe + test_dh.exe cd $(SRCDIR) test:: $(TESTLIB) test-binaries test-run -- 2.11.4.GIT