Configuration: ensure that 'no-tests' works correctly
authorRichard Levitte <levitte@openssl.org>
Fri, 5 Feb 2021 14:39:32 +0000 (15:39 +0100)
committerPauli <ppzgs1@gmail.com>
Tue, 9 Feb 2021 07:05:06 +0000 (17:05 +1000)
'no-tests' wasn't entirely respected when specifying subdirs in the
top build.info.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14082)

build.info

index 053329c682f2c9f09e4e877815f81c622f99d81b..f631d6c7809b0266d5fc442383c7ffc7b3cfd740 100644 (file)
@@ -1,7 +1,10 @@
 # Note that some of these directories are filtered in Configure.  Look for
 # %skipdir there for further explanations.
 
-SUBDIRS=crypto ssl apps test util tools fuzz providers doc
+SUBDIRS=crypto ssl apps util tools fuzz providers doc
+IF[{- !$disabled{tests} -}]
+  SUBDIRS=test
+ENDIF
 IF[{- !$disabled{'deprecated-3.0'} -}]
   SUBDIRS=engines
 ENDIF