Skip to content

Commit

Permalink
Add config option for installing evp_test
Browse files Browse the repository at this point in the history
  • Loading branch information
xhanulik committed Jul 19, 2024
1 parent 5006623 commit 5746454
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Configure
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ my @disablables = (
"gost",
"http",
"idea",
"install-evp-test",
"ktls",
"legacy",
"loadereng",
Expand Down Expand Up @@ -586,6 +587,7 @@ our %disabled = ( # "what" => "comment"
"fuzz-afl" => "default",
"fuzz-libfuzzer" => "default",
"pie" => "default",
"install-evp-test" => "default",
"ktls" => "default",
"md2" => "default",
"msan" => "default",
Expand Down Expand Up @@ -674,7 +676,7 @@ my @disable_cascades = (

"stdio" => [ "apps", "capieng", "egd" ],
"apps" => [ "tests" ],
"tests" => [ "external-tests" ],
"tests" => [ "external-tests", "install-evp-test" ],
"comp" => [ "zlib", "brotli", "zstd" ],
"sm3" => [ "sm2" ],
sub { !$disabled{"unit-test"} } => [ "heartbeats" ],
Expand Down
4 changes: 4 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,10 @@ engine.

Disable HTTP support.

### enable-install-evp-test

Install `evp_test` tests as separate tool.

### no-legacy

Don't build the legacy provider.
Expand Down
8 changes: 7 additions & 1 deletion test/build.info
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ IF[{- !$disabled{tests} -}]
ecstresstest gmdifftest pbelutest \
destest mdc2test sha_test \
exptest pbetest localetest evp_pkey_ctx_new_from_name \
evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \
evp_pkey_provided_test evp_extra_test evp_extra_test2 \
evp_fetch_prov_test evp_libctx_test ossl_store_test \
v3nametest v3ext punycode_test \
crltest danetest bad_dtls_test lhash_test sparse_array_test \
Expand Down Expand Up @@ -66,6 +66,12 @@ IF[{- !$disabled{tests} -}]
nodefltctxtest evp_xof_test x509_load_cert_file_test bio_meth_test \
x509_acert_test x509_req_test strtoultest

IF[{- !$disabled{'install-evp-test'} -}]
PROGRAMS=evp_test
ELSE
PROGRAMS{noinst}=evp_test
ENDIF

IF[{- !$disabled{'rpk'} -}]
PROGRAMS{noinst}=rpktest
ENDIF
Expand Down

0 comments on commit 5746454

Please sign in to comment.