Gökçen Nurlu pushed to branch gokcen/no_auto_fetch at BuildStream / buildstream
Commits:
-
ca3b745b
by Gökçen Nurlu at 2018-11-01T18:02:15Z
2 changed files:
Changes:
... | ... | @@ -510,6 +510,8 @@ def test_build_checkout_workspaced_junction(cli, tmpdir, datafiles): |
510 | 510 |
# Now open a workspace on the junction
|
511 | 511 |
#
|
512 | 512 |
result = cli.run(project=project, args=['workspace', 'open', 'junction.bst', workspace])
|
513 |
+ result.assert_main_error(ErrorDomain.PIPELINE, 'uncached-sources')
|
|
514 |
+ result = cli.run(project=project, args=['workspace', 'open', 'junction.bst', workspace, '--fetch'])
|
|
513 | 515 |
result.assert_success()
|
514 | 516 |
filename = os.path.join(workspace, 'files', 'etc-files', 'etc', 'animal.conf')
|
515 | 517 |
|
... | ... | @@ -47,7 +47,7 @@ def open_cross_junction(cli, tmpdir): |
47 | 47 |
workspace = tmpdir.join("workspace")
|
48 | 48 |
|
49 | 49 |
element = 'sub.bst:data.bst'
|
50 |
- args = ['workspace', 'open', element, str(workspace)]
|
|
50 |
+ args = ['workspace', 'open', element, str(workspace), '--fetch']
|
|
51 | 51 |
result = cli.run(project=project, args=args)
|
52 | 52 |
result.assert_success()
|
53 | 53 |
|