summaryrefslogtreecommitdiff
path: root/tests/frontend/pull.py
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.com>2017-09-05 04:22:13 -0500
committerTristan Maat <tristan.maat@codethink.co.uk>2017-09-28 14:46:33 +0100
commit206fc51a6cf57697f03e27508819eafaaee58317 (patch)
treee019ce1bf25ceb1ca90964450908ae2965e75eef /tests/frontend/pull.py
parent37ece921d0cd4a69174ae8591127113973f53d46 (diff)
downloadbuildstream-206fc51a6cf57697f03e27508819eafaaee58317.tar.gz
Fix tests for other platforms
Diffstat (limited to 'tests/frontend/pull.py')
-rw-r--r--tests/frontend/pull.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/frontend/pull.py b/tests/frontend/pull.py
index 114cf9950..07d664c5f 100644
--- a/tests/frontend/pull.py
+++ b/tests/frontend/pull.py
@@ -2,6 +2,7 @@ import os
import shutil
import pytest
from tests.testutils import cli, create_artifact_share
+from tests.testutils.site import IS_LINUX
from buildstream import _yaml
@@ -24,6 +25,7 @@ def assert_shared(cli, share, project, element_name):
.format(share.repo, element_name))
+@pytest.mark.skipif(not IS_LINUX, reason='Only available on linux')
@pytest.mark.parametrize(
'user_url, project_url, override_url',
[
@@ -107,6 +109,7 @@ def test_push_pull(cli, tmpdir, datafiles, user_url, project_url, override_url):
assert state == 'cached'
+@pytest.mark.skipif(not IS_LINUX, reason='Only available on linux')
@pytest.mark.datafiles(DATA_DIR)
def test_push_pull_all(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)