summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* remote.py: Add support for marking downloaded files executableEd Baunton2018-08-072-2/+43
| | | | | | | | | | Add an optional flag to make files executable after having downloaded them. Instead of leaving the permissioning of downloaded file in remote.py up to the user's umask; expressly set permissions to 0644 or 0755 if executable. Bump format version to 13.
* Add support for include '(@)' in project.conf and .bst filesValentin David2018-08-0251-3/+878
| | | | Fixes #331.
* Refactor plugin factory creationValentin David2018-08-022-18/+20
|
* Make Project owner of Loader.Valentin David2018-08-021-1/+1
|
* Pass targets to Loader.load() instead of its constructor.Valentin David2018-08-023-35/+36
| | | | | This is required to be able to build a Loader before the list of targets is known.
* Move tests.frontend.generate_junction to test.testutilsValentin David2018-08-0210-48/+49
|
* tests: test local plugins and element-path pathstiagogomes/issue-195Tiago Gomes2018-08-023-1/+51
|
* tests: add additional tests to patch pluginTiago Gomes2018-08-024-9/+50
|
* tests: add additional tests to local pluginTiago Gomes2018-08-024-2/+55
|
* tests: add generate_file_types testing functionTiago Gomes2018-08-021-0/+62
|
* project: validate project paths (element-path)Tiago Gomes2018-08-021-1/+1
|
* patch plugin: validate project pathsTiago Gomes2018-08-021-5/+7
|
* local plugin: validate project pathsTiago Gomes2018-08-025-92/+46
| | | | | | The autotools example had to be copied over inside of the junction example, as referring to a path outside of the project directory is now disallowed.
* 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.
* complete.py: Ensure paths get completed from 'element-path'mablanch/448-autocompletion-broken-defaultsMartin Blanchard2018-08-016-0/+25
| | | | | | | | Element paths should always be completed from the root element folder defined by the element-path key in project.conf. Fix complete_path() to always search into its given base_directory argument. See issue BuildStream/buildstream#448
* tests/examples/developing.py: Add tests for workspaces walkthroughphil/437-workspaces-tutorialPhil Dawson2018-08-011-0/+91
|
* testutils/patch.py: Add methods for applying and removing patchesPhil Dawson2018-08-011-0/+21
|
* tests: Add tests for cached behavioursRichard Maw2018-07-311-0/+160
|
* tests/examples/junctions.py: Add tests for junctions walkthroughphil/437-junction-tutorialPhil Dawson2018-07-301-0/+84
| | | | This is part of the work towards issue #437.
* tests: Add mirrored fetching and tracking testsJonathan Maw2018-07-272-0/+487
|
* testutils: Add a helper to copy a testutils repoJonathan Maw2018-07-271-1/+20
| | | | | | | | This is helpful if you want to test what happens when you have one repo that has diverged from another. By copying the repo you're sure they start with shared history. This is especially useful when mirroring.
* Set default mirror via command-line or user configJonathan Maw2018-07-271-0/+1
| | | | | | | In user config (buildstream.conf), it is set with the "default-mirror" field. On the command-line, it is set with "--default-mirror"
* tests/sources: deb, tar and zip all test for retry behaviourJosh Smith2018-07-273-3/+6
| | | | | | This is following 5d6418a06a3a0262df5f6b9e6e1a36578515fd4a where DownloadableFileSource was modified to raise 'temporary' errors when relating to file downloading.
* Provide explicit reason for SourceError exception on pathEd Baunton2018-07-261-1/+1
| | | | When the user provides a path for the filename parameter, provide a reason
* Add remote source pluginEd Baunton2018-07-2513-0/+179
| | | | | | | | Add a plugin that supports downloading files verbatim from a source with an optional overridable filename and destination directory. Bumps bst format version to 10. Fixes #163
* _stream.py: Added functionality for workspace open -fPhillip Smyth2018-07-251-0/+52
| | | | tests/frontend/workspace.py: Added tests
* tests/frontend/show.py: Add test case for maximum recursion depth being exceededPhil Dawson2018-07-251-2/+58
| | | | | | | Add test to ensure gracefull handling of exception thrown while loading a pipeline due the python's max recursion depth being exceeded. This is part of the work for issue #203
* Adding caching build treesPhillip Smyth2018-07-2325-25/+25
| | | | | buildstream/element.py: Adding build tree to cache buildstream/_versions.py: Bumping BST_CORE_ARTIFACT_VERSION
* 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/artifactcache/expiry.py: Add expiry testsTristan Maat2018-07-182-0/+278
|
* tests/frontend/buildcheckout.py: Added tests for "Add a `--deps` flag to ↵add_flag_to_checkoutPhillip Smyth2018-07-171-0/+36
| | | | `bst checkout`"
* Remove tar artifact cacheJürg Billeter2018-07-171-82/+0
| | | | No longer used.
* tests/integration/workspace.py: Test incremental build on all platformsJürg Billeter2018-07-171-1/+0
|
* tests/frontend/pull.py: Add pull test for missing blobs on the serverJürg Billeter2018-07-171-0/+42
|
* tests/frontend/push.py: Remove xfail mark from LRU cache testJürg Billeter2018-07-171-4/+0
| | | | The CAS server now supports LRU.
* tests: Test push/pull on all platformsJürg Billeter2018-07-173-13/+0
|
* tests/cachekey: Update expected cache keys after switch to CASJürg Billeter2018-07-1725-25/+25
|
* tests/testutils/artifactshare.py: Use CAS artifact serverJürg Billeter2018-07-171-28/+48
|
* _platform: Use CAS artifact cacheJürg Billeter2018-07-171-6/+1
|
* tests/frontend/push.py: Use ArtifactShare statvfs mockingJürg Billeter2018-07-171-29/+9
| | | | | This makes it unnecessary to update the free space in the mock object in the middle of tests.
* tests/testutils/artifactshare.py: Add support for statvfs mockingJürg Billeter2018-07-171-3/+28
|
* tests: Use context manager for ArtifactShareJürg Billeter2018-07-174-469/+487
|
* tests: Fix filter tests not checking whether files should be missing.Jonathan Maw2018-07-165-0/+72
| | | | | They weren't actually catching it if you checked-out the entire depended element, instead of just the specified split domains
* Move _list_dir_contents to __init__.pyMove-_list_dir_contents-to-__init__425-add-a-deps-flag-to-bst-checkoutPhillip Smyth2018-07-114-52/+36
|
* tests/frontend/push.py: Add missing skip annotation for non-Linux468-source-bundle-except-argument-is-ignoredJürg Billeter2018-07-091-0/+1
|
* tests: Remove unneeded ArtifactShare.update_summary() methodJürg Billeter2018-07-094-40/+0
| | | | The OSTree summary file is no longer used.
* Provide better error message on missing commandsTiago Gomes2018-07-023-0/+21
| | | | | | | Before running a command in the sandbox, check its existence and fail early if it does not. This fixes issue #289.
* Add error message when running commands on directoriesFrancisco Redondo Marchena2018-06-281-0/+12
| | | | Issue #446
* doc: Adding part 4 of the getting started tutorial: integration commandsTristan Van Berkom2018-06-251-0/+36
| | | | | This new section talks about how integration commands work and shows them at work.
* doc: Adding part 3 of the getting started tutorial: autotools elementTristan Van Berkom2018-06-182-0/+47
| | | | | | | | | This part of the tutorial uses a lot of the work from Phil Dawson and James Ennis, and uses their example submitted on merge request 499 as a basis to introduce the user to yaml composition and variable resolution. This is a part of issue #103