diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2018-11-20 17:35:17 +0000 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2018-11-20 18:10:48 +0000 |
commit | 57e6358fef757f9c9d3ff202442450dcb1d1ac32 (patch) | |
tree | 43458322429552e93c48131b74ca57ffff97d314 /tests/integration/pullbuildtrees.py | |
parent | e030b48e84f84ae14c004bf830292e13a65a817f (diff) | |
download | buildstream-57e6358fef757f9c9d3ff202442450dcb1d1ac32.tar.gz |
Ensure tests requiring bubblewrap are correctly marked
Diffstat (limited to 'tests/integration/pullbuildtrees.py')
-rw-r--r-- | tests/integration/pullbuildtrees.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration/pullbuildtrees.py b/tests/integration/pullbuildtrees.py index 94da21de4..0f9397251 100644 --- a/tests/integration/pullbuildtrees.py +++ b/tests/integration/pullbuildtrees.py @@ -4,6 +4,7 @@ import pytest from tests.testutils import cli_integration as cli, create_artifact_share from tests.testutils.integration import assert_contains +from tests.testutils.site import HAVE_BWRAP, IS_LINUX from buildstream._exceptions import ErrorDomain, LoadErrorReason @@ -30,6 +31,7 @@ def default_state(cli, tmpdir, share): # directory of an element. @pytest.mark.integration @pytest.mark.datafiles(DATA_DIR) +@pytest.mark.skipif(IS_LINUX and not HAVE_BWRAP, reason='Only available with bubblewrap on Linux') def test_pullbuildtrees(cli, tmpdir, datafiles, integration_cache): project = os.path.join(datafiles.dirname, datafiles.basename) element_name = 'autotools/amhello.bst' |