run-checker NO DGRAM and test cases

Tomas Mraz tomas at openssl.org
Fri Mar 18 12:00:57 UTC 2022


On Fri, 2022-03-18 at 05:24 -0400, Michael Richardson wrote:
> 
> Tomas Mraz <tomas at openssl.org> wrote:
>     >> Should the test *ALSO* ifdef itself out if OPENSSL_NO_DGRAM is
>     >> defined?
> 
>     > No, that's not necessary as they won't be built at all with the
>     > build.info change above.
> 
> I didn't find this to be true.  The source file still got built, and
> linked,
> and that failed.
> 
> I had to add an ifdef to the source file.  Please see:
> https://github.com/mcr/openssl/commit/2ae78377969d939d5eedc39ca0c22d914f739e93
> 
> Perhaps my use of:
>     IF[{- !$disabled{dgram} -}]
> 
> is wrong in some way.

You've included the bio_write_test and bio_read_test also on the bare
PROGRAMS{noinst} assignment. You need to remove them from there.
Interestingly the http_test is included there as well which means it
will also be always compiled.

-- 
Tomáš Mráz, OpenSSL




More information about the openssl-users mailing list