]>
Commit | Line | Data |
---|---|---|
b93cb165 RL |
1 | {- |
2 | use File::Spec::Functions; | |
3 | sub rebase_files | |
4 | { | |
5 | my ($base, $files) = @_; | |
6 | return join(" ", map { "$base/$_" } split(/\s+/, $files)); | |
7 | } | |
6a15d5b6 RL |
8 | our $apps_extra = |
9 | $config{target} =~ /^vms-/ ? "../apps/vms_term_sock.c" : ""; | |
10 | "" | |
b93cb165 | 11 | -} |
d90a6beb | 12 | IF[{- !$disabled{tests} -}] |
7218ae51 | 13 | PROGRAMS_NO_INST=\ |
2fae041d | 14 | aborttest test_test \ |
629192c1 | 15 | sanitytest exdatatest bntest \ |
a81c33ef | 16 | ectest ecdsatest gmdifftest pbelutest ideatest \ |
816060d2 | 17 | md2test \ |
a2121e14 | 18 | hmactest \ |
c5055adf | 19 | rc2test rc4test rc5test \ |
d90a6beb | 20 | destest sha1test sha256t sha512t \ |
816060d2 | 21 | mdc2test \ |
d90a6beb MC |
22 | randtest dhtest enginetest casttest \ |
23 | bftest ssltest_old dsatest exptest rsa_test \ | |
e417070c | 24 | evp_test evp_extra_test igetest v3nametest v3ext \ |
508ee8f5 | 25 | crltest danetest bad_dtls_test lhash_test \ |
d90a6beb | 26 | constant_time_test verify_extra_test clienthellotest \ |
98374961 | 27 | packettest asynctest secmemtest srptest memleaktest stack_test \ |
d90a6beb | 28 | dtlsv1listentest ct_test threadstest afalgtest d2i_test \ |
f8f686ec | 29 | ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \ |
52fe14e6 | 30 | bioprinttest sslapitest dtlstest sslcorrupttest bio_enc_test \ |
37332ecc RL |
31 | pkey_meth_test uitest cipherbytes_test asn1_encode_test \ |
32 | x509_time_test recordlentest | |
d90a6beb MC |
33 | |
34 | SOURCE[aborttest]=aborttest.c | |
0483f586 | 35 | INCLUDE[aborttest]=../include |
d90a6beb MC |
36 | DEPEND[aborttest]=../libcrypto |
37 | ||
cbf0cfaf | 38 | SOURCE[sanitytest]=sanitytest.c testutil.c test_main.c |
cc75cbc4 RS |
39 | INCLUDE[sanitytest]=../include |
40 | DEPEND[sanitytest]=../libcrypto | |
d90a6beb | 41 | |
2fae041d P |
42 | SOURCE[test_test]=test_test.c testutil.c test_main.c |
43 | INCLUDE[test_test]=.. ../include | |
44 | DEPEND[test_test]=../libcrypto | |
45 | ||
eb16fc8f | 46 | SOURCE[exdatatest]=exdatatest.c testutil.c test_main.c |
629192c1 RS |
47 | INCLUDE[exdatatest]=../include |
48 | DEPEND[exdatatest]=../libcrypto | |
49 | ||
8d1ebff4 | 50 | SOURCE[bntest]=bntest.c testutil.c test_main_custom.c |
0483f586 | 51 | INCLUDE[bntest]=.. ../crypto/include ../include |
d90a6beb MC |
52 | DEPEND[bntest]=../libcrypto |
53 | ||
54 | SOURCE[ectest]=ectest.c | |
2f0ca54c | 55 | INCLUDE[ectest]=.. ../include |
d90a6beb MC |
56 | DEPEND[ectest]=../libcrypto |
57 | ||
b66411f6 | 58 | SOURCE[ecdsatest]=ecdsatest.c testutil.c test_main.c |
0483f586 | 59 | INCLUDE[ecdsatest]=../include |
d90a6beb MC |
60 | DEPEND[ecdsatest]=../libcrypto |
61 | ||
7635e5bc | 62 | SOURCE[gmdifftest]=gmdifftest.c testutil.c test_main.c |
0483f586 | 63 | INCLUDE[gmdifftest]=../include |
d90a6beb MC |
64 | DEPEND[gmdifftest]=../libcrypto |
65 | ||
b66411f6 | 66 | SOURCE[pbelutest]=pbelutest.c testutil.c test_main.c |
0483f586 | 67 | INCLUDE[pbelutest]=../include |
d90a6beb MC |
68 | DEPEND[pbelutest]=../libcrypto |
69 | ||
deeac6c3 | 70 | SOURCE[ideatest]=ideatest.c testutil.c test_main.c |
0483f586 | 71 | INCLUDE[ideatest]=../include |
d90a6beb MC |
72 | DEPEND[ideatest]=../libcrypto |
73 | ||
524080c6 | 74 | SOURCE[md2test]=md2test.c testutil.c test_main.c |
0483f586 | 75 | INCLUDE[md2test]=../include |
d90a6beb MC |
76 | DEPEND[md2test]=../libcrypto |
77 | ||
d90a6beb | 78 | SOURCE[hmactest]=hmactest.c |
0483f586 | 79 | INCLUDE[hmactest]=../include |
d90a6beb MC |
80 | DEPEND[hmactest]=../libcrypto |
81 | ||
05d77528 | 82 | SOURCE[rc2test]=rc2test.c testutil.c test_main.c |
0483f586 | 83 | INCLUDE[rc2test]=../include |
d90a6beb MC |
84 | DEPEND[rc2test]=../libcrypto |
85 | ||
74284c88 | 86 | SOURCE[rc4test]=rc4test.c testutil.c test_main.c |
0483f586 | 87 | INCLUDE[rc4test]=../include |
d90a6beb MC |
88 | DEPEND[rc4test]=../libcrypto |
89 | ||
7f13fad2 | 90 | SOURCE[rc5test]=rc5test.c testutil.c test_main.c |
0483f586 | 91 | INCLUDE[rc5test]=../include |
d90a6beb MC |
92 | DEPEND[rc5test]=../libcrypto |
93 | ||
c491a399 | 94 | SOURCE[destest]=destest.c testutil.c test_main.c |
0483f586 | 95 | INCLUDE[destest]=../include |
d90a6beb MC |
96 | DEPEND[destest]=../libcrypto |
97 | ||
e49429aa | 98 | SOURCE[sha1test]=sha1test.c testutil.c test_main.c |
0483f586 | 99 | INCLUDE[sha1test]=../include |
d90a6beb MC |
100 | DEPEND[sha1test]=../libcrypto |
101 | ||
f46074c7 | 102 | SOURCE[sha256t]=sha256t.c testutil.c test_main.c |
0483f586 | 103 | INCLUDE[sha256t]=../include |
d90a6beb MC |
104 | DEPEND[sha256t]=../libcrypto |
105 | ||
f46074c7 | 106 | SOURCE[sha512t]=sha512t.c testutil.c test_main.c |
0483f586 | 107 | INCLUDE[sha512t]=../include |
d90a6beb MC |
108 | DEPEND[sha512t]=../libcrypto |
109 | ||
850b55a9 | 110 | SOURCE[mdc2test]=mdc2test.c testutil.c test_main.c |
0483f586 | 111 | INCLUDE[mdc2test]=../include |
d90a6beb MC |
112 | DEPEND[mdc2test]=../libcrypto |
113 | ||
d90a6beb | 114 | SOURCE[randtest]=randtest.c |
0483f586 | 115 | INCLUDE[randtest]=../include |
d90a6beb | 116 | DEPEND[randtest]=../libcrypto |
777a2882 | 117 | |
d90a6beb | 118 | SOURCE[dhtest]=dhtest.c |
0483f586 | 119 | INCLUDE[dhtest]=../include |
d90a6beb | 120 | DEPEND[dhtest]=../libcrypto |
777a2882 | 121 | |
b66411f6 | 122 | SOURCE[enginetest]=enginetest.c testutil.c test_main.c |
0483f586 | 123 | INCLUDE[enginetest]=../include |
d90a6beb | 124 | DEPEND[enginetest]=../libcrypto |
777a2882 | 125 | |
b66411f6 | 126 | SOURCE[casttest]=casttest.c testutil.c test_main.c |
e2a29ad6 | 127 | INCLUDE[casttest]=.. ../include |
d90a6beb | 128 | DEPEND[casttest]=../libcrypto |
777a2882 | 129 | |
70e1acd7 | 130 | SOURCE[bftest]=bftest.c testutil.c test_main_custom.c |
0483f586 | 131 | INCLUDE[bftest]=../include |
d90a6beb | 132 | DEPEND[bftest]=../libcrypto |
777a2882 | 133 | |
d90a6beb | 134 | SOURCE[ssltest_old]=ssltest_old.c |
0483f586 | 135 | INCLUDE[ssltest_old]=.. ../include |
d90a6beb | 136 | DEPEND[ssltest_old]=../libcrypto ../libssl |
777a2882 | 137 | |
d90a6beb | 138 | SOURCE[dsatest]=dsatest.c |
0483f586 | 139 | INCLUDE[dsatest]=../include |
d90a6beb | 140 | DEPEND[dsatest]=../libcrypto |
777a2882 | 141 | |
d90a6beb | 142 | SOURCE[exptest]=exptest.c |
0483f586 | 143 | INCLUDE[exptest]=../include |
d90a6beb | 144 | DEPEND[exptest]=../libcrypto |
777a2882 | 145 | |
48f17396 | 146 | SOURCE[rsa_test]=rsa_test.c testutil.c test_main.c |
0483f586 | 147 | INCLUDE[rsa_test]=.. ../include |
d90a6beb | 148 | DEPEND[rsa_test]=../libcrypto |
777a2882 | 149 | |
d90a6beb | 150 | SOURCE[evp_test]=evp_test.c |
0483f586 | 151 | INCLUDE[evp_test]=../include |
d90a6beb | 152 | DEPEND[evp_test]=../libcrypto |
777a2882 | 153 | |
d90a6beb | 154 | SOURCE[evp_extra_test]=evp_extra_test.c |
0483f586 | 155 | INCLUDE[evp_extra_test]=../include |
d90a6beb | 156 | DEPEND[evp_extra_test]=../libcrypto |
777a2882 | 157 | |
d90a6beb | 158 | SOURCE[igetest]=igetest.c |
0483f586 | 159 | INCLUDE[igetest]=.. ../include |
d90a6beb | 160 | DEPEND[igetest]=../libcrypto |
777a2882 | 161 | |
d90a6beb | 162 | SOURCE[v3nametest]=v3nametest.c |
0483f586 | 163 | INCLUDE[v3nametest]=../include |
d90a6beb | 164 | DEPEND[v3nametest]=../libcrypto |
777a2882 | 165 | |
2b406990 RS |
166 | SOURCE[crltest]=crltest.c testutil.c test_main.c |
167 | INCLUDE[crltest]=../include | |
168 | DEPEND[crltest]=../libcrypto | |
169 | ||
4afc6060 | 170 | SOURCE[v3ext]=v3ext.c testutil.c test_main_custom.c |
0483f586 | 171 | INCLUDE[v3ext]=../include |
e417070c RS |
172 | DEPEND[v3ext]=../libcrypto |
173 | ||
d90a6beb | 174 | SOURCE[danetest]=danetest.c |
0483f586 | 175 | INCLUDE[danetest]=../include |
d90a6beb | 176 | DEPEND[danetest]=../libcrypto ../libssl |
777a2882 | 177 | |
d90a6beb | 178 | SOURCE[constant_time_test]=constant_time_test.c |
0483f586 | 179 | INCLUDE[constant_time_test]=.. ../include |
d90a6beb | 180 | DEPEND[constant_time_test]=../libcrypto |
777a2882 | 181 | |
4afc6060 | 182 | SOURCE[verify_extra_test]=verify_extra_test.c testutil.c test_main_custom.c |
0483f586 | 183 | INCLUDE[verify_extra_test]=../include |
d90a6beb | 184 | DEPEND[verify_extra_test]=../libcrypto |
777a2882 | 185 | |
6bc6ca62 | 186 | SOURCE[clienthellotest]=clienthellotest.c testutil.c test_main_custom.c |
0483f586 | 187 | INCLUDE[clienthellotest]=../include |
d90a6beb | 188 | DEPEND[clienthellotest]=../libcrypto ../libssl |
777a2882 | 189 | |
829b2b85 | 190 | SOURCE[bad_dtls_test]=bad_dtls_test.c testutil.c test_main.c |
9cc76cc4 | 191 | INCLUDE[bad_dtls_test]=../include |
16938284 DW |
192 | DEPEND[bad_dtls_test]=../libcrypto ../libssl |
193 | ||
d90a6beb | 194 | SOURCE[packettest]=packettest.c |
0483f586 | 195 | INCLUDE[packettest]=../include |
d90a6beb | 196 | DEPEND[packettest]=../libcrypto |
777a2882 | 197 | |
d90a6beb | 198 | SOURCE[asynctest]=asynctest.c |
0483f586 | 199 | INCLUDE[asynctest]=.. ../include |
d90a6beb | 200 | DEPEND[asynctest]=../libcrypto |
777a2882 | 201 | |
789dfc47 | 202 | SOURCE[secmemtest]=secmemtest.c testutil.c test_main.c |
0483f586 | 203 | INCLUDE[secmemtest]=../include |
d90a6beb | 204 | DEPEND[secmemtest]=../libcrypto |
777a2882 | 205 | |
b66411f6 | 206 | SOURCE[srptest]=srptest.c testutil.c test_main.c |
0483f586 | 207 | INCLUDE[srptest]=../include |
d90a6beb | 208 | DEPEND[srptest]=../libcrypto |
777a2882 | 209 | |
789dfc47 | 210 | SOURCE[memleaktest]=memleaktest.c testutil.c |
0483f586 | 211 | INCLUDE[memleaktest]=../include |
d90a6beb | 212 | DEPEND[memleaktest]=../libcrypto |
04949088 | 213 | |
98374961 P |
214 | SOURCE[stack_test]=stack_test.c testutil.c test_main.c |
215 | INCLUDE[stack_test]=.. ../include | |
216 | DEPEND[stack_test]=../libcrypto | |
217 | ||
508ee8f5 P |
218 | SOURCE[lhash_test]=lhash_test.c testutil.c test_main.c |
219 | INCLUDE[lhash_test]=.. ../include | |
220 | DEPEND[lhash_test]=../libcrypto | |
221 | ||
d90a6beb | 222 | SOURCE[dtlsv1listentest]=dtlsv1listentest.c |
0483f586 | 223 | INCLUDE[dtlsv1listentest]=.. ../include |
d90a6beb | 224 | DEPEND[dtlsv1listentest]=../libssl |
9666ffb3 | 225 | |
e364c3b2 | 226 | SOURCE[ct_test]=ct_test.c testutil.c test_main_custom.c |
0483f586 | 227 | INCLUDE[ct_test]=../crypto/include ../include |
d90a6beb | 228 | DEPEND[ct_test]=../libcrypto |
71a04cfc | 229 | |
ee25dd45 | 230 | SOURCE[threadstest]=threadstest.c testutil.c test_main.c |
0483f586 | 231 | INCLUDE[threadstest]=.. ../include |
d90a6beb | 232 | DEPEND[threadstest]=../libcrypto |
b37d6abf | 233 | |
5c8e9d53 | 234 | SOURCE[afalgtest]=afalgtest.c testutil.c |
0483f586 | 235 | INCLUDE[afalgtest]=.. ../include |
d90a6beb | 236 | DEPEND[afalgtest]=../libcrypto |
d2458440 | 237 | |
e364c3b2 | 238 | SOURCE[d2i_test]=d2i_test.c testutil.c test_main_custom.c |
0483f586 | 239 | INCLUDE[d2i_test]=.. ../include |
d90a6beb | 240 | DEPEND[d2i_test]=../libcrypto |
1400f013 | 241 | |
e364c3b2 | 242 | SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c ssl_test_ctx.c testutil.c test_main_custom.c |
0483f586 | 243 | INCLUDE[ssl_test_ctx_test]=.. ../include |
2e21539b | 244 | DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl |
453dfd8d | 245 | |
e364c3b2 | 246 | SOURCE[ssl_test]=ssl_test.c ssl_test_ctx.c testutil.c handshake_helper.c test_main_custom.c |
0483f586 | 247 | INCLUDE[ssl_test]=.. ../include |
d90a6beb | 248 | DEPEND[ssl_test]=../libcrypto ../libssl |
453dfd8d | 249 | |
e364c3b2 | 250 | SOURCE[cipherlist_test]=cipherlist_test.c testutil.c test_main.c |
0483f586 | 251 | INCLUDE[cipherlist_test]=.. ../include |
5a22cf96 EK |
252 | DEPEND[cipherlist_test]=../libcrypto ../libssl |
253 | ||
d90a6beb | 254 | INCLUDE[testutil.o]=.. |
0483f586 RL |
255 | INCLUDE[ssl_test_ctx.o]=../include |
256 | INCLUDE[handshake_helper.o]=../include | |
43708c15 | 257 | INCLUDE[ssltestlib.o]=.. ../include |
fde2257f | 258 | |
e2a29ad6 RS |
259 | SOURCE[x509aux]=x509aux.c testutil.c test_main_custom.c |
260 | INCLUDE[x509aux]=.. ../include | |
fde2257f | 261 | DEPEND[x509aux]=../libcrypto |
d7295cd6 | 262 | |
c7910796 | 263 | SOURCE[asynciotest]=asynciotest.c ssltestlib.c testutil.c test_main_custom.c |
0483f586 | 264 | INCLUDE[asynciotest]=../include |
d7295cd6 | 265 | DEPEND[asynciotest]=../libcrypto ../libssl |
f8f686ec MC |
266 | |
267 | SOURCE[bioprinttest]=bioprinttest.c | |
0483f586 | 268 | INCLUDE[bioprinttest]=../include |
f8f686ec | 269 | DEPEND[bioprinttest]=../libcrypto |
5cdad22f | 270 | |
e364c3b2 | 271 | SOURCE[sslapitest]=sslapitest.c ssltestlib.c testutil.c test_main_custom.c |
f1b25aae | 272 | INCLUDE[sslapitest]=../include .. |
5cdad22f | 273 | DEPEND[sslapitest]=../libcrypto ../libssl |
6fc1748e | 274 | |
e364c3b2 | 275 | SOURCE[dtlstest]=dtlstest.c ssltestlib.c testutil.c test_main_custom.c |
6fc1748e MC |
276 | INCLUDE[dtlstest]=../include . |
277 | DEPEND[dtlstest]=../libcrypto ../libssl | |
e6ed2b91 | 278 | |
c5a56992 AP |
279 | SOURCE[sslcorrupttest]=sslcorrupttest.c ssltestlib.c testutil.c |
280 | INCLUDE[sslcorrupttest]=../include . | |
281 | DEPEND[sslcorrupttest]=../libcrypto ../libssl | |
282 | ||
e6ed2b91 AP |
283 | SOURCE[bio_enc_test]=bio_enc_test.c |
284 | INCLUDE[bio_enc_test]=../include | |
285 | DEPEND[bio_enc_test]=../libcrypto | |
d6c4cc29 | 286 | |
52fe14e6 DSH |
287 | SOURCE[pkey_meth_test]=pkey_meth_test.c testutil.c test_main.c |
288 | INCLUDE[pkey_meth_test]=../include | |
289 | DEPEND[pkey_meth_test]=../libcrypto | |
290 | ||
80770da3 EK |
291 | SOURCE[x509_time_test]=x509_time_test.c testutil.c test_main.c |
292 | INCLUDE[x509_time_test]=.. ../include | |
293 | DEPEND[x509_time_test]=../libcrypto | |
294 | ||
c1074ce0 MC |
295 | SOURCE[recordlentest]=recordlentest.c ssltestlib.c testutil.c test_main_custom.c |
296 | INCLUDE[recordlentest]=../include . | |
297 | DEPEND[recordlentest]=../libcrypto ../libssl | |
298 | ||
02e22dd4 DW |
299 | IF[{- !$disabled{psk} -}] |
300 | PROGRAMS_NO_INST=dtls_mtu_test | |
301 | SOURCE[dtls_mtu_test]=dtls_mtu_test.c ssltestlib.c | |
302 | INCLUDE[dtls_mtu_test]=.. ../include | |
303 | DEPEND[dtls_mtu_test]=../libcrypto ../libssl | |
304 | ENDIF | |
305 | ||
9c89c846 | 306 | IF[{- !$disabled{shared} -}] |
b987d748 MC |
307 | PROGRAMS_NO_INST=shlibloadtest |
308 | SOURCE[shlibloadtest]=shlibloadtest.c | |
309 | INCLUDE[shlibloadtest]=../include | |
310 | ENDIF | |
311 | ||
d6c4cc29 | 312 | IF[{- $disabled{shared} -}] |
e463cb39 | 313 | PROGRAMS_NO_INST=cipher_overhead_test |
542dd9c5 DW |
314 | SOURCE[cipher_overhead_test]=cipher_overhead_test.c |
315 | INCLUDE[cipher_overhead_test]=.. ../include | |
316 | DEPEND[cipher_overhead_test]=../libcrypto ../libssl | |
d6c4cc29 | 317 | ENDIF |
aeac2183 | 318 | |
6a15d5b6 RL |
319 | SOURCE[uitest]=uitest.c testutil.c test_main_custom.c \ |
320 | ../apps/apps.c ../apps/opt.c {- $apps_extra -} | |
66ed24b1 RL |
321 | INCLUDE[uitest]=.. ../include |
322 | DEPEND[uitest]=../libcrypto ../libssl | |
323 | ||
6e3dac19 BK |
324 | SOURCE[cipherbytes_test]=cipherbytes_test.c |
325 | INCLUDE[cipherbytes_test]=.. ../include | |
326 | DEPEND[cipherbytes_test]=../libcrypto ../libssl | |
327 | ||
37332ecc RL |
328 | SOURCE[asn1_encode_test]=asn1_encode_test.c testutil.c test_main.c |
329 | INCLUDE[asn1_encode_test]=../include | |
330 | DEPEND[asn1_encode_test]=../libcrypto | |
331 | ||
b5b7c61f | 332 | # Internal test programs. These are essentially a collection of internal |
cf551a51 RL |
333 | # test routines. Some of them need to reach internal symbols that aren't |
334 | # available through the shared library (at least on Linux, Solaris, Windows | |
335 | # and VMS, where the exported symbols are those listed in util/*.num), these | |
69687aa8 | 336 | # programs are forcibly linked with the static libraries, where all symbols |
cf551a51 RL |
337 | # are always available. This excludes linking these programs natively on |
338 | # Windows when building shared libraries, since the static libraries share | |
339 | # names with the DLL import libraries. | |
340 | IF[{- $disabled{shared} || $target{build_scheme}->[1] ne 'windows' -}] | |
f01675c6 | 341 | PROGRAMS_NO_INST=asn1_internal_test modes_internal_test x509_internal_test \ |
e463cb39 | 342 | tls13encryptiontest wpackettest |
cf551a51 RL |
343 | IF[{- !$disabled{poly1305} -}] |
344 | PROGRAMS_NO_INST=poly1305_internal_test | |
345 | ENDIF | |
ee6d9dfb AP |
346 | IF[{- !$disabled{chacha} -}] |
347 | PROGRAMS_NO_INST=chacha_internal_test | |
348 | ENDIF | |
3f5616d7 TS |
349 | IF[{- !$disabled{siphash} -}] |
350 | PROGRAMS_NO_INST=siphash_internal_test | |
351 | ENDIF | |
cf551a51 RL |
352 | |
353 | SOURCE[poly1305_internal_test]=poly1305_internal_test.c testutil.c test_main_custom.c | |
354 | INCLUDE[poly1305_internal_test]=.. ../include ../crypto/include | |
355 | DEPEND[poly1305_internal_test]=../libcrypto.a | |
356 | ||
bea4ac2b | 357 | SOURCE[chacha_internal_test]=chacha_internal_test.c testutil.c test_main.c |
ee6d9dfb AP |
358 | INCLUDE[chacha_internal_test]=.. ../include ../crypto/include |
359 | DEPEND[chacha_internal_test]=../libcrypto.a | |
360 | ||
cf551a51 RL |
361 | SOURCE[asn1_internal_test]=asn1_internal_test.c testutil.c test_main.c |
362 | INCLUDE[asn1_internal_test]=.. ../include ../crypto/include | |
363 | DEPEND[asn1_internal_test]=../libcrypto.a | |
364 | ||
365 | SOURCE[modes_internal_test]=modes_internal_test.c testutil.c test_main_custom.c | |
366 | INCLUDE[modes_internal_test]=.. ../include | |
367 | DEPEND[modes_internal_test]=../libcrypto.a | |
368 | ||
369 | SOURCE[x509_internal_test]=x509_internal_test.c testutil.c test_main.c | |
370 | INCLUDE[x509_internal_test]=.. ../include | |
371 | DEPEND[x509_internal_test]=../libcrypto.a | |
f01675c6 MC |
372 | |
373 | SOURCE[tls13encryptiontest]=tls13encryptiontest.c testutil.c test_main.c | |
374 | INCLUDE[tls13encryptiontest]=.. ../include | |
375 | DEPEND[tls13encryptiontest]=../libcrypto ../libssl.a | |
e463cb39 MC |
376 | |
377 | SOURCE[wpackettest]=wpackettest.c testutil.c test_main_custom.c | |
378 | INCLUDE[wpackettest]=../include | |
379 | DEPEND[wpackettest]=../libcrypto ../libssl.a | |
3f5616d7 TS |
380 | |
381 | SOURCE[siphash_internal_test]=siphash_internal_test.c testutil.c test_main_custom.c | |
382 | INCLUDE[siphash_internal_test]=.. ../include ../crypto/include | |
383 | DEPEND[siphash_internal_test]=../libcrypto.a | |
aeac2183 | 384 | ENDIF |
2c166171 | 385 | |
cf551a51 RL |
386 | IF[{- !$disabled{mdc2} -}] |
387 | PROGRAMS_NO_INST=mdc2_internal_test | |
f12d6273 | 388 | ENDIF |
97f1e971 | 389 | |
e364c3b2 | 390 | SOURCE[mdc2_internal_test]=mdc2_internal_test.c testutil.c test_main.c |
97f1e971 RL |
391 | INCLUDE[mdc2_internal_test]=.. ../include |
392 | DEPEND[mdc2_internal_test]=../libcrypto | |
134bfe56 MC |
393 | |
394 | # We disable this test completely in a shared build because it deliberately | |
395 | # redefines some internal libssl symbols. This doesn't work in a non-shared | |
396 | # build | |
397 | IF[{- !$disabled{shared} -}] | |
398 | PROGRAMS_NO_INST=tls13secretstest | |
fb83f20c | 399 | SOURCE[tls13secretstest]=tls13secretstest.c testutil.c test_main.c |
134bfe56 MC |
400 | SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../ssl/packet.c |
401 | INCLUDE[tls13secretstest]=.. ../include | |
402 | DEPEND[tls13secretstest]=../libcrypto ../libssl | |
403 | ENDIF | |
5cdad22f RL |
404 | ENDIF |
405 | ||
406 | {- | |
0483f586 | 407 | use File::Spec::Functions; |
bffb1490 RL |
408 | use File::Basename; |
409 | use if $^O ne "VMS", 'File::Glob' => qw/glob/; | |
410 | ||
bffb1490 RL |
411 | my @nogo_headers = ( "asn1_mac.h", |
412 | "__decc_include_prologue.h", | |
413 | "__decc_include_epilogue.h" ); | |
414 | my @headerfiles = glob catfile($sourcedir, | |
415 | updir(), "include", "openssl", "*.h"); | |
416 | ||
417 | foreach my $headerfile (@headerfiles) { | |
418 | my $name = basename($headerfile, ".h"); | |
419 | next if $disabled{$name}; | |
420 | next if grep { $_ eq lc("$name.h") } @nogo_headers; | |
421 | $OUT .= <<"_____"; | |
422 | ||
7218ae51 | 423 | PROGRAMS_NO_INST=buildtest_$name |
bffb1490 RL |
424 | GENERATE[buildtest_$name.c]=generate_buildtest.pl $name |
425 | SOURCE[buildtest_$name]=buildtest_$name.c | |
0483f586 | 426 | INCLUDE[buildtest_$name]=../include |
bffb1490 RL |
427 | DEPEND[buildtest_$name]=../libssl ../libcrypto |
428 | _____ | |
429 | } | |
5cdad22f | 430 | -} |