aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-02-27 14:18:59 +0000
committerMichael Brown <mcb30@ipxe.org>2012-02-27 14:21:54 +0000
commitc0340d9762e0ba05f4b46d7b8264a3f1c070cefd (patch)
tree2f1a5f53eb9ebc23666fe27b2545f9c88e202285 /src/tests/test.c
parent5a80c1106230f4308fe330eb9b881a349a3f9278 (diff)
downloadipxe-c0340d9762e0ba05f4b46d7b8264a3f1c070cefd.zip
ipxe-c0340d9762e0ba05f4b46d7b8264a3f1c070cefd.tar.gz
ipxe-c0340d9762e0ba05f4b46d7b8264a3f1c070cefd.tar.bz2
[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>
Diffstat (limited to 'src/tests/test.c')
-rw-r--r--src/tests/test.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tests/test.c b/src/tests/test.c
index 7e86905..fa9f579 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -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 );