kumquat-buildroot/support/testing/tests/utils
Ricardo Martincoski 5ee1dd85a3 utils/get-developers: bail out on parsing errors
Currently 4 types of parsing errors/warnings can be found:
- entry for a file that is not in the tree anymore (warning)
- developer entry with no file entry (error)
- file entry with no developer (error)
- entry that is not a developer, a file or a comment (hard error)

Currently only the last one ends the script with -v with error code.

Make all 3 error types into hard errors and bail out at the first error
found, because the rest of the state machine is not designed to handle
malformed input.
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-07 09:24:16 +01:00
..
br2-external support/testing: test check-package ignore list 2023-02-06 18:54:18 +01:00
test_get_developers
__init__.py
test_check_package.py support/testing: test check-package ignore list 2023-02-06 18:54:18 +01:00
test_get_developers.py utils/get-developers: bail out on parsing errors 2023-02-07 09:24:16 +01:00