-
- Downloads
_project.py: Add fatal-warnings configuration item
This allows for users to configure fatal-warnings to be either a list of warnings or simply True to trigger all configurable warnings as errors. This commit deprecates the use of fail-on-overlap within project.conf, this will now use the fatal-warnings configuration item. plugin.py: get_warnings() is now available for plugins to override and return their configurable warnings. tests: This modifys the tests/frontend/overlaps.py tests to support the new fatal-warnings configuration. Backwards compatibility is also tested for `fail-on-overlap` _versions.py: BST_FORMAT_VERSION bumped to 12 for fatal-warnings Fixes: #526
Showing
- buildstream/_frontend/app.py 6 additions, 0 deletionsbuildstream/_frontend/app.py
- buildstream/_project.py 92 additions, 4 deletionsbuildstream/_project.py
- buildstream/_stream.py 3 additions, 0 deletionsbuildstream/_stream.py
- buildstream/_versions.py 1 addition, 1 deletionbuildstream/_versions.py
- buildstream/data/projectconfig.yaml 9 additions, 1 deletionbuildstream/data/projectconfig.yaml
- buildstream/plugin.py 64 additions, 3 deletionsbuildstream/plugin.py
- tests/frontend/overlaps.py 15 additions, 8 deletionstests/frontend/overlaps.py
Loading
Please register or sign in to comment