diff options
| author | Simon Glass <sjg@chromium.org> | 2025-02-07 11:30:57 -0700 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-02-11 20:12:36 -0600 |
| commit | fa0b68d22add6416fa56a5907c752a9348ae1a45 (patch) | |
| tree | 01693091e0e01b4f85db6f79e2153bcaf2f35bfa /test/test-main.c | |
| parent | 32aba887e3d7cbcdf8fd98c107aaa79f3bd44a16 (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.c | 2 |
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); |
