summaryrefslogtreecommitdiff
path: root/test/test-main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-07 11:30:57 -0700
committerTom Rini <trini@konsulko.com>2025-02-11 20:12:36 -0600
commitfa0b68d22add6416fa56a5907c752a9348ae1a45 (patch)
tree01693091e0e01b4f85db6f79e2153bcaf2f35bfa /test/test-main.c
parent32aba887e3d7cbcdf8fd98c107aaa79f3bd44a16 (diff)
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>
Diffstat (limited to 'test/test-main.c')
-rw-r--r--test/test-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-main.c b/test/test-main.c
index ee855bfe2ed..cabc736a524 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -683,7 +683,7 @@ static int ut_run_tests(struct unit_test_state *uts, const char *prefix,
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);