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