summaryrefslogtreecommitdiff
path: root/tests/integration/stack.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2018-11-20 17:35:17 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2018-11-20 18:10:48 +0000
commit57e6358fef757f9c9d3ff202442450dcb1d1ac32 (patch)
tree43458322429552e93c48131b74ca57ffff97d314 /tests/integration/stack.py
parente030b48e84f84ae14c004bf830292e13a65a817f (diff)
downloadbuildstream-57e6358fef757f9c9d3ff202442450dcb1d1ac32.tar.gz
Ensure tests requiring bubblewrap are correctly marked
Diffstat (limited to 'tests/integration/stack.py')
-rw-r--r--tests/integration/stack.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration/stack.py b/tests/integration/stack.py
index 9444fbbad..e48e00c36 100644
--- a/tests/integration/stack.py
+++ b/tests/integration/stack.py
@@ -4,6 +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
pytestmark = pytest.mark.integration
@@ -16,6 +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')
def test_stack(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)
checkout = os.path.join(cli.directory, 'checkout')