[test] Allow self-tests to be run individually

Separate out the list of self-tests from the self-test infrastructure.
This allows tests to be run individually.  For example:

  make bin/sha1_test.iso

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-02-27 14:21:54 +00:00
parent 5a80c11062
commit c0340d9762
2 changed files with 31 additions and 6 deletions
-6
View File
@@ -137,9 +137,3 @@ static void test_init ( void ) {
struct init_fn test_init_fn __init_fn ( INIT_NORMAL ) = {
.initialise = test_init,
};
/* Drag in all applicable self-tests */
REQUIRE_OBJECT ( list_test );
REQUIRE_OBJECT ( sha1_test );
REQUIRE_OBJECT ( hmac_drbg_test );
REQUIRE_OBJECT ( hash_df_test );