This is an automated email from the ASF dual-hosted git repository. not-in-ldap pushed a commit to branch tlater/buildbox-run-userchroot in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 9aef33baa94fe0c546443862f9261fb0659ca435 Author: Jürg Billeter <[email protected]> AuthorDate: Tue Nov 26 12:08:08 2019 +0100 tests/integration/shell.py: xfail for buildbox-run-userchroot buildbox-run-userchroot requires a shell. --- tests/integration/shell.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/integration/shell.py b/tests/integration/shell.py index cea6080..040ae53 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") [email protected]( + 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")
