my ($base, $files) = @_;
return join(" ", map { "$base/$_" } split(/\s+/, $files));
}
+ our $apps_extra =
+ $config{target} =~ /^vms-/ ? "../apps/vms_term_sock.c" : "";
+ ""
-}
IF[{- !$disabled{tests} -}]
PROGRAMS_NO_INST=\
randtest dhtest enginetest casttest \
bftest ssltest_old dsatest exptest rsa_test \
evp_test evp_extra_test igetest v3nametest v3ext \
- danetest p5_crpt2_test bad_dtls_test \
+ crltest danetest p5_crpt2_test bad_dtls_test \
constant_time_test verify_extra_test clienthellotest \
packettest asynctest secmemtest srptest memleaktest \
dtlsv1listentest ct_test threadstest afalgtest d2i_test \
ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \
bioprinttest sslapitest dtlstest sslcorrupttest bio_enc_test \
- pkey_meth_test
+ pkey_meth_test uitest
SOURCE[aborttest]=aborttest.c
INCLUDE[aborttest]=../include
INCLUDE[sanitytest]=../include
DEPEND[sanitytest]=../libcrypto
- SOURCE[bntest]=bntest.c
+ SOURCE[bntest]=bntest.c testutil.c test_main_custom.c
INCLUDE[bntest]=.. ../crypto/include ../include
DEPEND[bntest]=../libcrypto
INCLUDE[v3nametest]=../include
DEPEND[v3nametest]=../libcrypto
+ SOURCE[crltest]=crltest.c testutil.c test_main.c
+ INCLUDE[crltest]=../include
+ DEPEND[crltest]=../libcrypto
+
SOURCE[v3ext]=v3ext.c
INCLUDE[v3ext]=../include
DEPEND[v3ext]=../libcrypto
DEPEND[bioprinttest]=../libcrypto
SOURCE[sslapitest]=sslapitest.c ssltestlib.c testutil.c test_main_custom.c
- INCLUDE[sslapitest]=../include
+ INCLUDE[sslapitest]=../include ..
DEPEND[sslapitest]=../libcrypto ../libssl
SOURCE[dtlstest]=dtlstest.c ssltestlib.c testutil.c test_main_custom.c
ENDIF
IF[{- $disabled{shared} -}]
- PROGRAMS_NO_INST=wpackettest cipher_overhead_test
- SOURCE[wpackettest]=wpackettest.c testutil.c test_main_custom.c
- INCLUDE[wpackettest]=../include
- DEPEND[wpackettest]=../libcrypto ../libssl
-
+ PROGRAMS_NO_INST=cipher_overhead_test
SOURCE[cipher_overhead_test]=cipher_overhead_test.c
INCLUDE[cipher_overhead_test]=.. ../include
DEPEND[cipher_overhead_test]=../libcrypto ../libssl
ENDIF
+ SOURCE[uitest]=uitest.c testutil.c test_main_custom.c \
+ ../apps/apps.c ../apps/opt.c {- $apps_extra -}
+ INCLUDE[uitest]=.. ../include
+ DEPEND[uitest]=../libcrypto ../libssl
+
# Internal test programs. These are essentially a collection of internal
# test routines. Some of them need to reach internal symbols that aren't
# available through the shared library (at least on Linux, Solaris, Windows
# Windows when building shared libraries, since the static libraries share
# names with the DLL import libraries.
IF[{- $disabled{shared} || $target{build_scheme}->[1] ne 'windows' -}]
- PROGRAMS_NO_INST=asn1_internal_test modes_internal_test x509_internal_test
+ PROGRAMS_NO_INST=asn1_internal_test modes_internal_test x509_internal_test \
+ tls13encryptiontest wpackettest
IF[{- !$disabled{poly1305} -}]
PROGRAMS_NO_INST=poly1305_internal_test
ENDIF
+ IF[{- !$disabled{siphash} -}]
+ PROGRAMS_NO_INST=siphash_internal_test
+ ENDIF
SOURCE[poly1305_internal_test]=poly1305_internal_test.c testutil.c test_main_custom.c
INCLUDE[poly1305_internal_test]=.. ../include ../crypto/include
SOURCE[x509_internal_test]=x509_internal_test.c testutil.c test_main.c
INCLUDE[x509_internal_test]=.. ../include
DEPEND[x509_internal_test]=../libcrypto.a
+
+ SOURCE[tls13encryptiontest]=tls13encryptiontest.c testutil.c test_main.c
+ INCLUDE[tls13encryptiontest]=.. ../include
+ DEPEND[tls13encryptiontest]=../libcrypto ../libssl.a
+
+ SOURCE[wpackettest]=wpackettest.c testutil.c test_main_custom.c
+ INCLUDE[wpackettest]=../include
+ DEPEND[wpackettest]=../libcrypto ../libssl.a
+
+ SOURCE[siphash_internal_test]=siphash_internal_test.c testutil.c test_main_custom.c
+ INCLUDE[siphash_internal_test]=.. ../include ../crypto/include
+ DEPEND[siphash_internal_test]=../libcrypto.a
ENDIF
IF[{- !$disabled{mdc2} -}]