diff options
| author | Simon Glass <[email protected]> | 2025-02-07 11:30:57 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-11 20:12:36 -0600 |
| commit | fa0b68d22add6416fa56a5907c752a9348ae1a45 (patch) | |
| tree | 01693091e0e01b4f85db6f79e2153bcaf2f35bfa /test/py | |
| 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 <[email protected]>
Diffstat (limited to 'test/py')
| -rw-r--r-- | test/py/tests/test_suite.py | 5 |
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 |
