2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-22 09:31:51 +00:00

[test] Print out profiling statistics after a successful test run

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2014-05-02 15:20:12 +01:00
parent 34eaf69ddf
commit 9c16548506

View File

@ -35,6 +35,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/test.h>
#include <ipxe/init.h>
#include <ipxe/image.h>
#include <usr/profstat.h>
/** Current self-test set */
static struct self_test *current_tests;
@ -134,6 +135,7 @@ static int run_all_tests ( void ) {
return -EINPROGRESS;
} else {
printf ( "OK: all %d tests passed\n", total );
profstat();
return 0;
}
}