summaryrefslogtreecommitdiff
path: root/tests/sources/git.py
Commit message (Collapse)AuthorAgeFilesLines
* tests/sources/git.py: Add tests for REF_NOT_IN_TRACKtpollard/483Tom Pollard2018-09-031-0/+68
| | | | | Add tests that cover assert_ref_in_track & the configurable CoreWarnings REF_NOT_IN_TRACK warnings token.
* Add Error to git and ostree sources configureWilliam Salmon2018-08-171-17/+24
| | | | | | | | | Raise a error at configure time if the track and ref properties are not present in the sources. This is to address https://gitlab.com/BuildStream/buildstream/issues/471 that documented unhelpful behaviour when tracking git sources. However the issue was also identified in ostree.
* Add warning to git track if track and ref are not presentWilliam Salmon2018-08-071-0/+42
| | | | | This is to address https://gitlab.com/BuildStream/buildstream/issues/471 that documented unhelpfull behavour when tracking git sources.
* _stream.py: Add StreamError exceptionTristan Van Berkom2018-05-081-1/+1
| | | | Use Stream error for Stream errors.
* tests/sources/git.py: Test that we ignore inconsistent submodules.Tristan Van Berkom2018-03-221-0/+37
| | | | | | | Test this at `bst track` time, when encountering a new ref which adds a .gitmodules file but does not actually add the submodule, we check that the expected warning is in the stderr and that BuildStream does not error out for this.
* tests: Add a git test that project overrides workJonathan Maw2018-02-191-0/+39
|
* tests: Add tests to verify git sources obey submodule checkout configJonathan Maw2018-02-191-0/+207
|
* tests: fix erroneous comment in git testJonathan Maw2018-02-191-1/+1
|
* tests/sources: Use new error checking tools for source testsTristan Van Berkom2018-01-011-7/+6
| | | | | | Also added a test case for the `patch` plugin which checks for graceful failure when the specified patch file is not a regular file (but a block device or a named pipe instead).
* tests/sources/git.py: Converted to use newer CLI fixturesTristan Van Berkom2017-11-051-365/+61
|
* Fix affected test cases24-better-validation-for-loaded-yamlTristan Maat2017-09-141-3/+3
|
* tests/source/git.py: Skip if git is not availableTristan Van Berkom2017-09-041-0/+12
|
* Fixed test cases for Source refresh() -> track() API changeTristan Van Berkom2017-01-181-13/+16
|
* Fixed git submodule tests to be relocatable (was breaking in different places)Tristan Van Berkom2017-01-041-47/+55
| | | | | | This was broken because we presumed we could predict the commit sha of a commit which adds a submodule; we cannot because we cannot provide an identical URI for the submodule on all sites.
* Added git source test for fetching and staging gits with subreposTristan Van Berkom2017-01-031-2/+135
|
* Adding first git plugin testsTristan Van Berkom2016-12-191-0/+227