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/autotools.py | |
parent | f17ea6a68d798e6b2c5cfe1674755bbfc6a89e0b (diff) | |
download | buildstream-d4d2f89793ab6b361883b844e5e6b547fa714ca3.tar.gz |
tests: Skip tests that use sandboxes on WSL
Diffstat (limited to 'tests/integration/autotools.py')
-rw-r--r-- | tests/integration/autotools.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/autotools.py b/tests/integration/autotools.py index c7070ad29..b1d33f497 100644 --- a/tests/integration/autotools.py +++ b/tests/integration/autotools.py @@ -3,7 +3,7 @@ import pytest 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 @@ -19,7 +19,7 @@ DATA_DIR = os.path.join( # amhello project for this. @pytest.mark.integration @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_autotools_build(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') @@ -42,7 +42,7 @@ def test_autotools_build(cli, tmpdir, datafiles): # amhello project for this. @pytest.mark.integration @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_autotools_confroot_build(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkout = os.path.join(cli.directory, 'checkout') @@ -63,7 +63,7 @@ def test_autotools_confroot_build(cli, tmpdir, datafiles): # Test running an executable built with autotools @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_autotools_run(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) element_name = 'autotools/amhello.bst' |