Benjamin Schubert pushed to branch bschubert/tests-no-chroot-linux at BuildStream / buildstream
Commits:
-
41a94ad2
by Benjamin Schubert at 2018-11-01T17:49:02Z
2 changed files:
Changes:
| ... | ... | @@ -42,4 +42,5 @@ class SandboxDummy(Sandbox): |
| 42 | 42 |
"'{}'".format(command[0]),
|
| 43 | 43 |
reason='missing-command')
|
| 44 | 44 |
|
| 45 |
- raise SandboxError("This platform does not support local builds: {}".format(self._reason))
|
|
| 45 |
+ raise SandboxError("This platform does not support local builds: {}".format(self._reason),
|
|
| 46 |
+ reason="unavailable-local-sandbox")
|
| ... | ... | @@ -89,4 +89,3 @@ def test_old_brwap_has_nice_error_message(cli, datafiles, tmp_path): |
| 89 | 89 |
env={'PATH': str(tmp_path.joinpath('bin'))})
|
| 90 | 90 |
result.assert_task_error(ErrorDomain.SANDBOX, 'unavailable-local-sandbox')
|
| 91 | 91 |
assert "too old" in result.stderr
|
| 92 |
- |
