summaryrefslogtreecommitdiff
path: root/test/py/tests/test_suite.py
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/py/tests/test_suite.py
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/py/tests/test_suite.py')
-rw-r--r--test/py/tests/test_suite.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/py/tests/test_suite.py b/test/py/tests/test_suite.py
index 1e02d67efe2..d0025a7ba30 100644
--- a/test/py/tests/test_suite.py
+++ b/test/py/tests/test_suite.py
@@ -187,3 +187,8 @@ def xtest_suite(u_boot_console, u_boot_config):
assert suite_count == len(EXPECTED_SUITES)
assert total_test_count == len(all_tests)
+
+ # Run three suites
+ with cons.log.section('Check multiple suites'):
+ output = cons.run_command('ut bloblist,setexpr,mem')
+ assert 'Suites run: 3' in output