summaryrefslogtreecommitdiff
path: root/tests/frontend/buildcheckout.py
Commit message (Collapse)AuthorAgeFilesLines
* tests/frontend/buildcheckout.py: Enable test_build_checkout_tarball_stdoutdanielsilverstone-ct/preserve-stdoutbschubert/fix-binary-output-captureDaniel Silverstone2018-10-261-2/+1
| | | | | | | 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>
* Fix E305 warningsJavier Jardón2018-08-281-0/+1
|
* Move tests.frontend.generate_junction to test.testutilsValentin David2018-08-021-2/+2
|
* element.py: Raise an exception on unbuilt element checkoutMartin Blanchard2018-08-011-0/+10
| | | | | Trying to checkout an element that has no cached artifacts should be and handled failure. See BuildStream/buildstream#447.
* Add support for creating a tarball on bst checkouttiagogomes/tarball_checkoutTiago Gomes2018-07-201-1/+108
| | | | | | | | One of the tests added is configured to be skipped for now, as dumping binary data is causing a bad descriptor exception when using the pytest capture module. Closes #263.
* tests/frontend/buildcheckout.py: Added tests for "Add a `--deps` flag to ↵add_flag_to_checkoutPhillip Smyth2018-07-171-0/+36
| | | | `bst checkout`"
* Interpret names as colon separated junction path in loader.Valentin David2018-06-081-0/+19
| | | | | | 'a.bst:b.bst' gets interpreted as 'b.bst' from junction 'a.bst'. Part of #359.
* _stream.py: Add StreamError exceptionTristan Van Berkom2018-05-081-2/+2
| | | | Use Stream error for Stream errors.
* Load and save junctioned source refs from/to junction.refsTristan Van Berkom2018-04-251-1/+1
| | | | | | | | | | | | o _projectrefs.py: Additional constructor option to choose the base name o _project.py: Load two ProjectRefs objects, one for the junctions o source.py: Load and save junctioned source refs with the appropriate ProjectRefs object o tests: Updated some tests to expect junctions to be stored in junction.refs This fixes issue #361
* tests/frontend/buildcheckout.py: Added regression tests for workspaced junctionsTristan Van Berkom2018-04-161-0/+109
| | | | This guards against regressions of issue #292
* tests/frontend/buildcheckout.py: Added junction related testsTristan Van Berkom2018-04-051-1/+90
| | | | | | | | | | o Test that we get the expected error if the junction element the pipeline refers to is inconsistent o Test that the junction element is automatically fetched as a part of the build phase Both tests using both ref-storage modes
* tests/frontend: Updating tests to use new error checksTristan Van Berkom2018-01-011-16/+11
| | | | | This also fixes #177 - the problem here was solved simply by passing the project directory to `cli.run(project=project...)`
* Remove unused imports in test filesGökçen Nurlu2017-12-071-1/+0
|
* tests/frontend/buildcheckout.py: Adding `bst checkout` testsTristan Van Berkom2017-12-051-5/+91
| | | | | | | | | o Test that we fail gracefully when there is already data in the checkout target o Test that we still checkout into dirty directories with --force o Test hardlink checkouts
* Issue #124: Add test for staging to element build directory124-test-that-an-error-is-raised-when-staging-to-the-elements-build-directoryTristan Maat2017-10-231-0/+19
|
* tests/frontend/buildcheckout.py: Assert that build directories are removedTristan Van Berkom2017-10-211-0/+5
| | | | After successful builds.
* Fix tests for other platformsTristan Maat2017-09-281-0/+1
|
* tests/frontend/buildcheckout.py: Run tests in strict/non-strict modeTristan Van Berkom2017-09-051-9/+21
|
* Restructuring tests using the Repo and CliTristan Van Berkom2017-09-041-3/+2
| | | | | | Make all the test batteries which run on all the source backends we have repo scaffoldings for discover the list of Repo implementations automatically.
* tests/frontend/buildcheckout.py: Added tests for `bst build` and `bst checkout`Tristan Van Berkom2017-09-041-0/+78