diff options
author | Jürg Billeter <j@bitron.ch> | 2019-11-26 12:08:08 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-12-17 14:18:11 +0100 |
commit | 4fd6dc251695335e0b43db563d6d36e7401beb36 (patch) | |
tree | f537f3ece13c85137ebbe61e56e325a430ad9107 /tests | |
parent | 2a96cb211625725246d293b11f0d4f51106bf3bf (diff) | |
download | buildstream-4fd6dc251695335e0b43db563d6d36e7401beb36.tar.gz |
tests/integration/shell.py: xfail for buildbox-run-userchroot
buildbox-run-userchroot requires a shell.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/shell.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py index cea608016..040ae53a5 100644 --- a/tests/integration/shell.py +++ b/tests/integration/shell.py @@ -6,7 +6,7 @@ import pytest from buildstream import _yaml from buildstream.testing import cli_integration as cli # pylint: disable=unused-import -from buildstream.testing._utils.site import HAVE_SANDBOX +from buildstream.testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN from buildstream._exceptions import ErrorDomain from buildstream import utils @@ -134,6 +134,10 @@ def test_env_assign_isolated(cli, datafiles, animal): # /bin/sh) @pytest.mark.datafiles(DATA_DIR) @pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox") +@pytest.mark.xfail( + HAVE_SANDBOX == "buildbox-run" and BUILDBOX_RUN == "buildbox-run-userchroot", + reason="buildbox-run-userchroot requires a shell", +) def test_no_shell(cli, datafiles): project = str(datafiles) element_path = os.path.join(project, "elements") |