test: Allow running a selection of suites
Enhance the ut command to accept a comma-separated list of test suites
to run. Report the summary information for these at the end.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/test/test-main.c b/test/test-main.c
index ee855bf..cabc736 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -683,7 +683,7 @@
void ut_report(struct ut_stats *stats, int run_count)
{
if (run_count > 1)
- printf("Total tests");
+ printf("Suites run: %d, total tests", run_count);
else
printf("Tests");
printf(" run: %d, ", stats->test_count);