-
- Downloads
Workspace CLI update
This is to update the workspace CLI to as agreed on the mailing list https://mail.gnome.org/archives/buildstream-list/2018-September/msg00046.html This patch also introduces the default workspace directory. tests/frontend/workspace.py: Refactor of support functions. Refactoring the support functions for the workspace cli tests. The main motivation for this was to allow multiple elements to be created before running the workspace command. Also the support functions are now broken up so that test that test for failure can still reuse all the function that create elements, but call bst workspace with custom arguments and expect other things than success.
Showing
- buildstream/_context.py 5 additions, 2 deletionsbuildstream/_context.py
- buildstream/_frontend/cli.py 22 additions, 14 deletionsbuildstream/_frontend/cli.py
- buildstream/_stream.py 63 additions, 38 deletionsbuildstream/_stream.py
- buildstream/data/userconfig.yaml 3 additions, 0 deletionsbuildstream/data/userconfig.yaml
- tests/examples/developing.py 2 additions, 2 deletionstests/examples/developing.py
- tests/examples/junctions.py 1 addition, 1 deletiontests/examples/junctions.py
- tests/frontend/buildcheckout.py 1 addition, 1 deletiontests/frontend/buildcheckout.py
- tests/frontend/cross_junction_workspace.py 1 addition, 1 deletiontests/frontend/cross_junction_workspace.py
- tests/frontend/workspace.py 208 additions, 56 deletionstests/frontend/workspace.py
- tests/integration/shell.py 1 addition, 1 deletiontests/integration/shell.py
- tests/integration/workspace.py 6 additions, 6 deletionstests/integration/workspace.py
- tests/plugins/filter.py 4 additions, 4 deletionstests/plugins/filter.py
Loading
Please register or sign in to comment