Commits on Source (9)
-
-
Valentin David authored
Fix some ruamel warnings during tests See merge request !889
-
Daniel Silverstone authored
In order to support things which might need to use the stdout FD after checkout has completed writing a tarball to it, preserve it by means of `os.dup()` and `os.dup2()` Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
In order to test things which write tarballs to stdout correctly, we need to capture the binary output cleanly. This ensures we're not potentially mismatching encodings in and out. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
With the new support for saving the stdout FDs cleanly, and binary mode capture in runcli, enable the tarball-to-stdout test. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Benjamin Schubert authored
Don't close stdout when running 'checkout' to stdout Closes #486 See merge request !905
-
William Salmon authored
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.
-
William Salmon authored
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. Finally this patch also adds the regression test for workspaces.
-
William Salmon authored
This updates all remaining tests that have been affected by the braking CLI change to workspaces.
Showing
- buildstream/_context.py 5 additions, 2 deletionsbuildstream/_context.py
- buildstream/_frontend/cli.py 23 additions, 14 deletionsbuildstream/_frontend/cli.py
- buildstream/_stream.py 64 additions, 50 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 2 additions, 3 deletionstests/frontend/buildcheckout.py
- tests/frontend/cross_junction_workspace.py 1 addition, 1 deletiontests/frontend/cross_junction_workspace.py
- tests/frontend/workspace.py 178 additions, 54 deletionstests/frontend/workspace.py
- tests/frontend/yamlcache.py 2 additions, 2 deletionstests/frontend/yamlcache.py
- tests/integration/shell.py 2 additions, 2 deletionstests/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
- tests/testutils/runcli.py 7 additions, 6 deletionstests/testutils/runcli.py