]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add the 'run_tests' target to the Windows build file template as well
authorRichard Levitte <levitte@openssl.org>
Tue, 5 Dec 2023 08:26:36 +0000 (09:26 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 8 Dec 2023 08:05:39 +0000 (09:05 +0100)
For some reason, it was added to the Unix and VMS build templates, but
Windows was forgotten.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22948)

(cherry picked from commit a223bfcb89df54093a1858817e02fd6e0cb38219)

Configurations/windows-makefile.tmpl

index 4da6c55f3bf1ccae95b5283a4605334f494ec5d5..c36efc7d8a642f2c6387a582fa28c53fe9711351 100644 (file)
@@ -440,6 +440,8 @@ all: build_sw build_docs
 
 test: tests
 {- dependmagic('tests'); -}: build_programs_nodep build_modules_nodep copy-utils
+       $(MAKE) /$(MAKEFLAGS) run_tests
+run_tests:
        @{- output_off() if $disabled{tests}; "\@rem" -}
        cmd /C "set "SRCTOP=$(SRCDIR)" & set "BLDTOP=$(BLDDIR)" & set "PERL=$(PERL)" & set "FIPSKEY=$(FIPSKEY)" & "$(PERL)" "$(SRCDIR)\test\run_tests.pl" $(TESTS)"
        @{- if ($disabled{tests}) { output_on(); } else { output_off(); } "" -}