buildroot/support/testing/tests/utils
Yann E. MORIN 7d9899dbd1 utils/get-developers: use parser.error() rather than canned print+return
parser.error() reports a nice error message, that also displays a short
reminder of the available options.

Adapt the test-suite accordingly: previously, the error string was an
exact string in the stdout list, while it now is a substring in one of
the strings in stderr. The exit code changes, too.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Julien Olivain <ju.o@free.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 35f381b93e52895179569876b23a509c9a7e0225)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2025-01-09 09:09:52 +01:00
..
br2-external
test_get_developers
__init__.py
test_check_package.py support/testing: TestCheckPackage: update expected strings 2024-02-21 18:04:43 +01:00
test_get_developers.py utils/get-developers: use parser.error() rather than canned print+return 2025-01-09 09:09:52 +01:00