From 9c1654850662448333ae5c9a9e25f8bdd1d44884 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 2 May 2014 15:20:12 +0100 Subject: [PATCH] [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(+) diff --git a/src/tests/test.c b/src/tests/test.c index 9b65e351..c05e72a7 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; } }