]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Make sure that the test / tests build target run 'run_tests' last
authorRichard Levitte <levitte@openssl.org>
Tue, 5 Dec 2023 08:21:35 +0000 (09:21 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 8 Dec 2023 08:03:04 +0000 (09:03 +0100)
Fixes #22943

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

Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl

index c69a1cc1f814dae64ed71a661ce12889d6a4bc0f..d0b8d42628c7a4731bfe534496aed65312b9da65 100644 (file)
@@ -478,7 +478,8 @@ build_all_generated : $(GENERATED_MANDATORY) $(GENERATED) build_docs
 all : build_sw build_docs
 
 test : tests
-{- dependmagic('tests'); -} : build_programs_nodep, build_modules_nodep run_tests
+{- dependmagic('tests'); -} : build_programs_nodep, build_modules_nodep
+       $(MMS) $(MMSQUALIFIERS) run_tests
 run_tests :
         @ ! {- output_off() if $disabled{tests}; "" -}
         DEFINE SRCTOP "$(SRCDIR)"
index a48fae5fb8b8fecbf47d7ebfd4ef289013909268..3754595d38b50aa7c92589781c9f06604dac4f70 100644 (file)
@@ -526,8 +526,9 @@ build_all_generated: $(GENERATED_MANDATORY) $(GENERATED) build_docs
 all: build_sw build_docs
 
 test: tests
-{- dependmagic('tests'); -}: build_programs_nodep build_modules_nodep link-utils run_tests
-run_tests:
+{- dependmagic('tests'); -}: build_programs_nodep build_modules_nodep link-utils
+       $(MAKE) run_tests
+run_tests: FORCE
        @ : {- output_off() if $disabled{tests}; "" -}
        ( SRCTOP=$(SRCDIR) \
          BLDTOP=$(BLDDIR) \