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/manual.py | |
parent | f17ea6a68d798e6b2c5cfe1674755bbfc6a89e0b (diff) | |
download | buildstream-d4d2f89793ab6b361883b844e5e6b547fa714ca3.tar.gz |
tests: Skip tests that use sandboxes on WSL
Diffstat (limited to 'tests/integration/manual.py')
-rw-r--r-- | tests/integration/manual.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/integration/manual.py b/tests/integration/manual.py index 2a3dc3bd6..b9f09e25c 100644 --- a/tests/integration/manual.py +++ b/tests/integration/manual.py @@ -4,7 +4,7 @@ import pytest from buildstream import _yaml from tests.testutils import cli_integration as cli -from tests.testutils.site import HAVE_BWRAP, IS_LINUX +from tests.testutils.site import HAVE_SANDBOX pytestmark = pytest.mark.integration @@ -32,7 +32,7 @@ def create_manual_element(name, path, config, variables, environment): @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_manual_element(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') @@ -66,7 +66,7 @@ strip @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_manual_element_environment(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') @@ -96,7 +96,7 @@ def test_manual_element_environment(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_manual_element_noparallel(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') @@ -131,7 +131,7 @@ def test_manual_element_noparallel(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_manual_element_logging(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') |