summaryrefslogtreecommitdiff
path: root/tests/sourcecache
Commit message (Collapse)AuthorAgeFilesLines
* tests: check source push for workspaced elementsRaoul Hidalgo Charman2019-03-251-0/+40
| | | | | | | Workspaced elements should not push their sources as consistency is marked as cached even if the sources are not necessarily available. Part of #440
* tests: check sources are pushed even if build failsRaoul Hidalgo Charman2019-03-254-0/+100
| | | | | | | Adds a plugin build element that always fails. The test tries to build an element of this kind. Part of #440
* tests: Add source cache push failure testRaoul Hidalgo Charman2019-03-251-0/+42
| | | | Part of #440
* tests: Add source cache pull after a push testRaoul Hidalgo Charman2019-03-251-0/+45
| | | | Part of #440
* tests: Add source cache push testRaoul Hidalgo Charman2019-03-251-0/+96
| | | | Part of #440
* tests: Add source cache fetch failure testRaoul Hidalgo Charman2019-03-251-0/+52
| | | | Part of #440
* tests: Add source cache test for fallbackRaoul Hidalgo Charman2019-03-251-0/+59
| | | | | | | Checks buildstream calls fetch method when remote source cache does not have a source. Part of #440
* tests: Add source cache fetch testRaoul Hidalgo Charman2019-03-251-0/+111
| | | | Part of #440
* element.py: move _generate_key to _source_cachedRaoul Hidalgo Charman2019-03-211-1/+1
| | | | | | This means that keys are only generated after tracking. Part of a fix for !1124
* tests:lint: disable 'unused-import' checks on pytest fixturesBenjamin Schubert2019-03-204-4/+4
| | | | | Pylint can't know that pytest's fixtures are used in a file and therefore reports false positives. Silencing all those errors
* tests:lint: silence redefined-outer-name in files using fixturesBenjamin Schubert2019-03-204-0/+16
| | | | | Pylint doesn't play well with pytest fixtures, we therefore need to silence this error.
* tests:lint: be explicit when not using a variableBenjamin Schubert2019-03-201-1/+0
| | | | Fix all pylint unused-variable issues
* tests:lint: reorder imports for consistencyBenjamin Schubert2019-03-202-2/+4
| | | | | - Remove all wrong-import-order from pylint - Order some subgroups of imports
* Source cache testsRaoul Hidalgo Charman2019-03-1415-0/+429
Few different source cache tests have been to check that sources are staged into the local CAS and fetched where appropriate Part of #440