diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2019-01-28 11:11:31 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2019-02-06 10:45:34 +0000 |
commit | d4d2f89793ab6b361883b844e5e6b547fa714ca3 (patch) | |
tree | cf599fd26fa07d3ac9fbf8e3f29837c746e6fbf4 /tests/integration/sockets.py | |
parent | f17ea6a68d798e6b2c5cfe1674755bbfc6a89e0b (diff) | |
download | buildstream-d4d2f89793ab6b361883b844e5e6b547fa714ca3.tar.gz |
tests: Skip tests that use sandboxes on WSL
Diffstat (limited to 'tests/integration/sockets.py')
-rw-r--r-- | tests/integration/sockets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/sockets.py b/tests/integration/sockets.py index d0df8374e..30cf622cf 100644 --- a/tests/integration/sockets.py +++ b/tests/integration/sockets.py @@ -5,7 +5,7 @@ from buildstream import _yaml from tests.testutils import cli_integration as cli from tests.testutils.integration import assert_contains -from tests.testutils.site import HAVE_BWRAP, IS_LINUX +from tests.testutils.site import HAVE_SANDBOX pytestmark = pytest.mark.integration @@ -17,7 +17,7 @@ DATA_DIR = os.path.join( @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(IS_LINUX and not HAVE_BWRAP, reason='Only available with bubblewrap on Linux') +@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_builddir_socket_ignored(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) element_name = 'sockets/make-builddir-socket.bst' @@ -27,7 +27,7 @@ def test_builddir_socket_ignored(cli, tmpdir, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(IS_LINUX and not HAVE_BWRAP, reason='Only available with bubblewrap on Linux') +@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_install_root_socket_ignored(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) element_name = 'sockets/make-install-root-socket.bst' |