IF[{- !$disabled{tests} -}]
- PROGRAMS=\
+ PROGRAMS_NO_INST=\
aborttest \
- nptest bntest \
+ sanitytest bntest \
ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
md2test md4test md5test \
hmactest wp_test \
randtest dhtest enginetest casttest \
bftest ssltest_old dsatest exptest rsa_test \
evp_test evp_extra_test igetest v3nametest v3ext \
- danetest heartbeat_test p5_crpt2_test \
+ danetest heartbeat_test 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
+ bioprinttest sslapitest dtlstest bio_enc_test
SOURCE[aborttest]=aborttest.c
INCLUDE[aborttest]=../include
DEPEND[aborttest]=../libcrypto
- SOURCE[nptest]=nptest.c
- INCLUDE[nptest]=../include
- DEPEND[nptest]=../libcrypto
+ SOURCE[sanitytest]=sanitytest.c
+ INCLUDE[sanitytest]=../include
+ DEPEND[sanitytest]=../libcrypto
SOURCE[bntest]=bntest.c
INCLUDE[bntest]=.. ../crypto/include ../include
INCLUDE[clienthellotest]=../include
DEPEND[clienthellotest]=../libcrypto ../libssl
+ SOURCE[bad_dtls_test]=bad_dtls_test.c
+ INCLUDE[bad_dtls_test]=../include
+ DEPEND[bad_dtls_test]=../libcrypto ../libssl
+
SOURCE[packettest]=packettest.c
INCLUDE[packettest]=../include
DEPEND[packettest]=../libcrypto
SOURCE[bioprinttest]=bioprinttest.c
INCLUDE[bioprinttest]=../include
DEPEND[bioprinttest]=../libcrypto
- {-
+
+ SOURCE[sslapitest]=sslapitest.c ssltestlib.c testutil.c
+ INCLUDE[sslapitest]=../include
+ DEPEND[sslapitest]=../libcrypto ../libssl
+
+ SOURCE[dtlstest]=dtlstest.c ssltestlib.c testutil.c
+ INCLUDE[dtlstest]=../include .
+ DEPEND[dtlstest]=../libcrypto ../libssl
+
+ SOURCE[bio_enc_test]=bio_enc_test.c
+ INCLUDE[bio_enc_test]=../include
+ DEPEND[bio_enc_test]=../libcrypto
+
+ IF[{- $disabled{shared} -}]
+ PROGRAMS_NO_INST=wpackettest
+ SOURCE[wpackettest]=wpackettest.c testutil.c
+ INCLUDE[wpackettest]=../include
+ DEPEND[wpackettest]=../libcrypto ../libssl
+ ENDIF
+ENDIF
+
+{-
use File::Spec::Functions;
use File::Basename;
use if $^O ne "VMS", 'File::Glob' => qw/glob/;
next if grep { $_ eq lc("$name.h") } @nogo_headers;
$OUT .= <<"_____";
- PROGRAMS=buildtest_$name
+ PROGRAMS_NO_INST=buildtest_$name
GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
SOURCE[buildtest_$name]=buildtest_$name.c
INCLUDE[buildtest_$name]=../include
DEPEND[buildtest_$name]=../libssl ../libcrypto
_____
}
- -}
-
- SOURCE[sslapitest]=sslapitest.c ssltestlib.c testutil.c
- INCLUDE[sslapitest]=../include
- DEPEND[sslapitest]=../libcrypto ../libssl
-ENDIF
+-}