From 9c1654850662448333ae5c9a9e25f8bdd1d44884 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 2 May 2014 15:20:12 +0100 Subject: [test] Print out profiling statistics after a successful test run Signed-off-by: Michael Brown --- src/tests/test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests') diff --git a/src/tests/test.c b/src/tests/test.c index 9b65e35..c05e72a 100644 --- a/src/tests/test.c +++ b/src/tests/test.c @@ -35,6 +35,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include #include #include +#include /** 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; } } -- cgit v1.1