iPXE
tests.c
Go to the documentation of this file.
1/*
2 * Copyright (C) 2012 Michael Brown <mbrown@fensystems.co.uk>.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301, USA.
18 *
19 * You can also choose to distribute this program under the terms of
20 * the Unmodified Binary Distribution Licence (as given in the file
21 * COPYING.UBDL), provided that you have satisfied its requirements.
22 */
23
24FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25
26/** @file
27 *
28 * Self-test collection
29 *
30 */
31
32/* Drag in all applicable self-tests */
34REQUIRE_OBJECT ( memset_test );
35REQUIRE_OBJECT ( memcpy_test );
36REQUIRE_OBJECT ( string_test );
37REQUIRE_OBJECT ( math_test );
38REQUIRE_OBJECT ( vsprintf_test );
40REQUIRE_OBJECT ( byteswap_test );
43REQUIRE_OBJECT ( settings_test );
44REQUIRE_OBJECT ( time_test );
46REQUIRE_OBJECT ( ipv4_test );
47REQUIRE_OBJECT ( ipv6_test );
49REQUIRE_OBJECT ( md4_test );
50REQUIRE_OBJECT ( md5_test );
51REQUIRE_OBJECT ( sha1_test );
52REQUIRE_OBJECT ( sha256_test );
53REQUIRE_OBJECT ( sha512_test );
54REQUIRE_OBJECT ( aes_test );
55REQUIRE_OBJECT ( hmac_drbg_test );
58REQUIRE_OBJECT ( rsa_test );
59REQUIRE_OBJECT ( x509_test );
61REQUIRE_OBJECT ( cms_test );
62REQUIRE_OBJECT ( pnm_test );
64REQUIRE_OBJECT ( png_test );
65REQUIRE_OBJECT ( dns_test );
69REQUIRE_OBJECT ( pccrc_test );
71REQUIRE_OBJECT ( iobuf_test );
72REQUIRE_OBJECT ( bitops_test );
73REQUIRE_OBJECT ( der_test );
74REQUIRE_OBJECT ( pem_test );
75REQUIRE_OBJECT ( ntlm_test );
78REQUIRE_OBJECT ( utf8_test );
79REQUIRE_OBJECT ( acpi_test );
82REQUIRE_OBJECT ( gcm_test );
83REQUIRE_OBJECT ( nap_test );
84REQUIRE_OBJECT ( x25519_test );
85REQUIRE_OBJECT ( des_test );
87REQUIRE_OBJECT ( uuid_test );
89REQUIRE_OBJECT ( p256_test );
90REQUIRE_OBJECT ( p384_test );
91REQUIRE_OBJECT ( efi_siglist_test );
93REQUIRE_OBJECT ( fdt_test );
94REQUIRE_OBJECT ( ecdsa_test );
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define REQUIRE_OBJECT(object)
Require an object.
Definition compiler.h:202
A Base16 test.
Definition base16_test.c:41
A Base64 test.
Definition base64_test.c:43
A big integer test value.
Definition bigint_test.c:44
A CPIO test.
Definition cpio_test.c:41
A CRC32 test.
Definition crc32_test.c:50
A DEFLATE test.
An Ephemeral Diffie-Hellman self-test.
Definition dhe_test.c:65
An editable string test.
A gzip test.
Definition gzip_test.c:42
A Hash_df test.
An HMAC test.
Definition hmac_test.c:52
A line buffer test.
A list test structure.
Definition list_test.c:42
An MS-CHAPv2 test.
An OCSP test.
Definition ocsp_test.c:60
A profiling test.
A setjmp()/longjmp() test.
Definition setjmp_test.c:41
A TCP/IP fixed-data test.
Definition tcpip_test.c:47
A URI parsing/formatting test.
Definition uri_test.c:43
A zlib test.
Definition zlib_test.c:41
PROVIDE_REQUIRING_SYMBOL()