Which 1.1.1 config options set OPENSSL_NO_TESTS ?

Matt Caswell matt at openssl.org
Tue May 12 14:01:29 UTC 2020

On 12/05/2020 14:50, Jakob Bohm via openssl-users wrote:
> When running Configure in OpenSSL 1.1.1g with various options, it sometimes
> silently sets OPENSSL_NO_TESTS as reported by "perl configdata.pm -d" .

Looking at the code here:


It seems that "no-tests" will happen automatically if you specify
"no-apps". "no-apps" will be automatically turned on by "no-autoalginit".

i.e. these 3:


It strikes me as a bit over-zealous to disable all the tests because the
apps are disabled (quite a few tests use the apps, but quite a few do
not - we could at least run the ones that don't use them).

These option cascades really ought to be documented in INSTALL, but I
can see that they are not.


> This obviously causes "make test" to do nothing with the message "Tests are
> not supported with your chosen Configure options" .
> Unfortunately, neither the message nor "perl configdata.pm -d" gives any
> clue which of the used Configure options triggered this, and neither do
> INSTALL nor Configurations/README* nor Configurations/INTERNALS.Configure .
> So how should one go about finding the offending Configure options (other
> than endless trial and error)?
> Enjoy
> Jakob

More information about the openssl-users mailing list