summaryrefslogtreecommitdiffstats
path: root/src/tests/test.c
diff options
context:
space:
mode:
authorMichael Brown2011-10-13 02:40:59 +0200
committerMichael Brown2011-10-14 15:33:32 +0200
commitd40bd11c621771d6387f90177d2564557c61b592 (patch)
tree7efa46dd87cf99881acdd1af3726b9accf2f11a5 /src/tests/test.c
parent[test] Add a basic infrastructure for running self-tests (diff)
downloadipxe-d40bd11c621771d6387f90177d2564557c61b592.tar.gz
ipxe-d40bd11c621771d6387f90177d2564557c61b592.tar.xz
ipxe-d40bd11c621771d6387f90177d2564557c61b592.zip
[test] Add self-tests for list manipulation functions
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/test.c')
-rw-r--r--src/tests/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/test.c b/src/tests/test.c
index fa9f57971..8a1e27c73 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -137,3 +137,6 @@ 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 );