mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-10 00:19:40 +00:00
test/cipher_overhead_test.c: build unconditionally
Build it against static libraries always, since that's the only way it can work as intended. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10516)
This commit is contained in:
parent
76fde1db3c
commit
b7f491cbd6
test
@ -445,12 +445,12 @@ IF[{- !$disabled{tests} -}]
|
||||
INCLUDE[shlibloadtest]=../include ../apps/include ../crypto/include
|
||||
ENDIF
|
||||
|
||||
IF[{- $disabled{shared} -}]
|
||||
PROGRAMS{noinst}=cipher_overhead_test
|
||||
SOURCE[cipher_overhead_test]=cipher_overhead_test.c
|
||||
INCLUDE[cipher_overhead_test]=.. ../include ../apps/include
|
||||
DEPEND[cipher_overhead_test]=../libcrypto ../libssl libtestutil.a
|
||||
ENDIF
|
||||
# cipher_overhead_test uses internal symbols, so it must be linked with
|
||||
# the static libraries
|
||||
PROGRAMS{noinst}=cipher_overhead_test
|
||||
SOURCE[cipher_overhead_test]=cipher_overhead_test.c
|
||||
INCLUDE[cipher_overhead_test]=.. ../include ../apps/include
|
||||
DEPEND[cipher_overhead_test]=../libcrypto.a ../libssl.a libtestutil.a
|
||||
|
||||
SOURCE[uitest]=uitest.c ../apps/lib/apps_ui.c
|
||||
INCLUDE[uitest]=.. ../include ../apps/include
|
||||
|
@ -12,9 +12,6 @@ use OpenSSL::Test::Utils;
|
||||
|
||||
setup("test_overhead");
|
||||
|
||||
plan skip_all => "Only supported in no-shared builds"
|
||||
if !disabled("shared");
|
||||
|
||||
plan tests => 1;
|
||||
|
||||
ok(run(test(["cipher_overhead_test"])), "running cipher_overhead_test");
|
||||
|
Loading…
x
Reference in New Issue
Block a user