-}
IF[{- !$disabled{tests} -}]
PROGRAMS_NO_INST=\
- aborttest \
+ aborttest test_test \
sanitytest exdatatest bntest \
ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
md2test \
randtest dhtest enginetest casttest \
bftest ssltest_old dsatest exptest rsa_test \
evp_test evp_extra_test igetest v3nametest v3ext \
- crltest danetest bad_dtls_test \
+ crltest danetest bad_dtls_test lhash_test \
constant_time_test verify_extra_test clienthellotest \
- packettest asynctest secmemtest srptest memleaktest \
+ packettest asynctest secmemtest srptest memleaktest stack_test \
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 uitest cipherbytes_test x509_time_test recordlentest
+ pkey_meth_test uitest cipherbytes_test asn1_encode_test \
+ x509_time_test recordlentest
SOURCE[aborttest]=aborttest.c
INCLUDE[aborttest]=../include
INCLUDE[sanitytest]=../include
DEPEND[sanitytest]=../libcrypto
+ SOURCE[test_test]=test_test.c testutil.c test_main.c
+ INCLUDE[test_test]=.. ../include
+ DEPEND[test_test]=../libcrypto
+
SOURCE[exdatatest]=exdatatest.c
INCLUDE[exdatatest]=../include
DEPEND[exdatatest]=../libcrypto
INCLUDE[verify_extra_test]=../include
DEPEND[verify_extra_test]=../libcrypto
- SOURCE[clienthellotest]=clienthellotest.c
+ SOURCE[clienthellotest]=clienthellotest.c testutil.c test_main_custom.c
INCLUDE[clienthellotest]=../include
DEPEND[clienthellotest]=../libcrypto ../libssl
INCLUDE[memleaktest]=../include
DEPEND[memleaktest]=../libcrypto
+ SOURCE[stack_test]=stack_test.c testutil.c test_main.c
+ INCLUDE[stack_test]=.. ../include
+ DEPEND[stack_test]=../libcrypto
+
+ SOURCE[lhash_test]=lhash_test.c testutil.c test_main.c
+ INCLUDE[lhash_test]=.. ../include
+ DEPEND[lhash_test]=../libcrypto
+
SOURCE[dtlsv1listentest]=dtlsv1listentest.c
INCLUDE[dtlsv1listentest]=.. ../include
DEPEND[dtlsv1listentest]=../libssl
SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c ssl_test_ctx.c testutil.c test_main_custom.c
INCLUDE[ssl_test_ctx_test]=.. ../include
- DEPEND[ssl_test_ctx_test]=../libcrypto
+ DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl
SOURCE[ssl_test]=ssl_test.c ssl_test_ctx.c testutil.c handshake_helper.c test_main_custom.c
INCLUDE[ssl_test]=.. ../include
INCLUDE[testutil.o]=..
INCLUDE[ssl_test_ctx.o]=../include
INCLUDE[handshake_helper.o]=../include
- INCLUDE[ssltestlib.o]=../include
+ INCLUDE[ssltestlib.o]=.. ../include
SOURCE[x509aux]=x509aux.c
INCLUDE[x509aux]=../include
INCLUDE[cipherbytes_test]=.. ../include
DEPEND[cipherbytes_test]=../libcrypto ../libssl
+ SOURCE[asn1_encode_test]=asn1_encode_test.c testutil.c test_main.c
+ INCLUDE[asn1_encode_test]=../include
+ DEPEND[asn1_encode_test]=../libcrypto
+
# 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
# and VMS, where the exported symbols are those listed in util/*.num), these
- # programs are forcebly linked with the static libraries, where all symbols
+ # programs are forcibly linked with the static libraries, where all symbols
# are always available. This excludes linking these programs natively on
# Windows when building shared libraries, since the static libraries share
# names with the DLL import libraries.