diff options
Diffstat (limited to 'tests/frontend')
-rw-r--r-- | tests/frontend/buildcheckout.py | 2 | ||||
-rw-r--r-- | tests/frontend/buildtrack.py | 2 | ||||
-rw-r--r-- | tests/frontend/compose_splits.py | 3 | ||||
-rw-r--r-- | tests/frontend/cross_junction_workspace.py | 4 | ||||
-rw-r--r-- | tests/frontend/fetch.py | 3 | ||||
-rw-r--r-- | tests/frontend/logging.py | 3 | ||||
-rw-r--r-- | tests/frontend/mirror.py | 3 | ||||
-rw-r--r-- | tests/frontend/overlaps.py | 3 | ||||
-rw-r--r-- | tests/frontend/pull.py | 2 | ||||
-rw-r--r-- | tests/frontend/push.py | 3 | ||||
-rw-r--r-- | tests/frontend/show.py | 3 | ||||
-rw-r--r-- | tests/frontend/track.py | 2 | ||||
-rw-r--r-- | tests/frontend/track_cross_junction.py | 3 | ||||
-rw-r--r-- | tests/frontend/workspace.py | 2 |
14 files changed, 38 insertions, 0 deletions
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py index d0f52d6a7..cdb27383c 100644 --- a/tests/frontend/buildcheckout.py +++ b/tests/frontend/buildcheckout.py @@ -3,12 +3,14 @@ import tarfile import hashlib import pytest from tests.testutils import cli, create_repo, ALL_REPO_KINDS, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain, LoadErrorReason from . import configure_project +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') # Project directory DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/frontend/buildtrack.py b/tests/frontend/buildtrack.py index 3f0a3adbe..72b77f0ff 100644 --- a/tests/frontend/buildtrack.py +++ b/tests/frontend/buildtrack.py @@ -5,12 +5,14 @@ import itertools import pytest from tests.testutils import cli, create_repo +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain from . import configure_project +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') # Project directory DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/frontend/compose_splits.py b/tests/frontend/compose_splits.py index b5a2e760d..f2a017c07 100644 --- a/tests/frontend/compose_splits.py +++ b/tests/frontend/compose_splits.py @@ -1,6 +1,9 @@ import os import pytest from tests.testutils.runcli import cli +from tests.testutils.site import IS_LINUX, NO_FUSE + +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') # Project directory DATA_DIR = os.path.join( diff --git a/tests/frontend/cross_junction_workspace.py b/tests/frontend/cross_junction_workspace.py index eb2bc2eb8..35310d428 100644 --- a/tests/frontend/cross_junction_workspace.py +++ b/tests/frontend/cross_junction_workspace.py @@ -1,7 +1,11 @@ import os +import pytest from tests.testutils import cli, create_repo +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + def prepare_junction_project(cli, tmpdir): main_project = tmpdir.join("main") diff --git a/tests/frontend/fetch.py b/tests/frontend/fetch.py index e896f4a67..2ebc82936 100644 --- a/tests/frontend/fetch.py +++ b/tests/frontend/fetch.py @@ -1,12 +1,15 @@ import os import pytest from tests.testutils import cli, create_repo, ALL_REPO_KINDS, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain, LoadErrorReason from . import configure_project +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + # Project directory TOP_DIR = os.path.dirname(os.path.realpath(__file__)) DATA_DIR = os.path.join(TOP_DIR, 'project') diff --git a/tests/frontend/logging.py b/tests/frontend/logging.py index 4c70895a5..9c1c45f1e 100644 --- a/tests/frontend/logging.py +++ b/tests/frontend/logging.py @@ -2,10 +2,13 @@ import os import pytest import re from tests.testutils import cli, create_repo, ALL_REPO_KINDS +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + # Project directory DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/frontend/mirror.py b/tests/frontend/mirror.py index f37cc18af..ea20094a0 100644 --- a/tests/frontend/mirror.py +++ b/tests/frontend/mirror.py @@ -2,10 +2,13 @@ import os import pytest from tests.testutils import cli, create_repo, ALL_REPO_KINDS, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + # Project directory TOP_DIR = os.path.dirname(os.path.realpath(__file__)) DATA_DIR = os.path.join(TOP_DIR, 'project') diff --git a/tests/frontend/overlaps.py b/tests/frontend/overlaps.py index 36e15acd7..6a880176a 100644 --- a/tests/frontend/overlaps.py +++ b/tests/frontend/overlaps.py @@ -1,9 +1,12 @@ import os import pytest from tests.testutils.runcli import cli +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream._exceptions import ErrorDomain from buildstream import _yaml +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + # Project directory DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/frontend/pull.py b/tests/frontend/pull.py index 9d2d5d1a2..c00e9a25c 100644 --- a/tests/frontend/pull.py +++ b/tests/frontend/pull.py @@ -2,7 +2,9 @@ import os import shutil import pytest from tests.testutils import cli, create_artifact_share, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') # Project directory DATA_DIR = os.path.join( diff --git a/tests/frontend/push.py b/tests/frontend/push.py index 6ee301e6d..782133b37 100644 --- a/tests/frontend/push.py +++ b/tests/frontend/push.py @@ -4,9 +4,12 @@ import pytest from buildstream._exceptions import ErrorDomain from tests.testutils import cli, create_artifact_share, create_element_size from tests.testutils import generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from . import configure_project +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + # Project directory DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/frontend/show.py b/tests/frontend/show.py index ac2e71407..4f003807f 100644 --- a/tests/frontend/show.py +++ b/tests/frontend/show.py @@ -4,11 +4,14 @@ import shutil import itertools import pytest from tests.testutils import cli, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain, LoadErrorReason from . import configure_project +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + # Project directory DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/frontend/track.py b/tests/frontend/track.py index 73b63ec4c..f619c2eb3 100644 --- a/tests/frontend/track.py +++ b/tests/frontend/track.py @@ -1,12 +1,14 @@ import os import pytest from tests.testutils import cli, create_repo, ALL_REPO_KINDS, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream._exceptions import ErrorDomain, LoadErrorReason from buildstream import _yaml from . import configure_project +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') # Project directory TOP_DIR = os.path.dirname(os.path.realpath(__file__)) DATA_DIR = os.path.join(TOP_DIR, 'project') diff --git a/tests/frontend/track_cross_junction.py b/tests/frontend/track_cross_junction.py index 423edbdef..5559b7c6d 100644 --- a/tests/frontend/track_cross_junction.py +++ b/tests/frontend/track_cross_junction.py @@ -1,8 +1,11 @@ import os import pytest from tests.testutils import cli, create_repo, ALL_REPO_KINDS, generate_junction +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + def generate_element(repo, element_path, dep_name=None): element = { diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index fff9bf00a..6115b6f16 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -4,11 +4,13 @@ import shutil import subprocess from ruamel.yaml.comments import CommentedSet from tests.testutils import cli, create_repo, ALL_REPO_KINDS +from tests.testutils.site import IS_LINUX, NO_FUSE from buildstream import _yaml from buildstream._exceptions import ErrorDomain, LoadError, LoadErrorReason from buildstream._workspaces import BST_WORKSPACE_FORMAT_VERSION +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') repo_kinds = [(kind) for kind in ALL_REPO_KINDS] # Project directory |