summaryrefslogtreecommitdiff
path: root/tests/cachekey
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-11-12 14:21:46 +0100
committerValentin David <valentin.david@gmail.com>2018-11-14 11:43:33 +0000
commit16b0148976b8a92c4ba7888e407cd4c5e26e0cae (patch)
tree158458b7b0175f65785b7596b3bf57029dcd6f12 /tests/cachekey
parentc87d6e4506c620feb21c851248bd2f0b226160c0 (diff)
downloadbuildstream-16b0148976b8a92c4ba7888e407cd4c5e26e0cae.tar.gz
Disable cachekey tests on other architectures than x86_64
Diffstat (limited to 'tests/cachekey')
-rw-r--r--tests/cachekey/cachekey.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
index b1f8a9140..113f5bab0 100644
--- a/tests/cachekey/cachekey.py
+++ b/tests/cachekey/cachekey.py
@@ -36,7 +36,7 @@
# the result.
#
from tests.testutils.runcli import cli
-from tests.testutils.site import HAVE_BZR, HAVE_GIT, HAVE_OSTREE, IS_LINUX
+from tests.testutils.site import HAVE_BZR, HAVE_GIT, HAVE_OSTREE, IS_LINUX, MACHINE_ARCH
from buildstream.plugin import CoreWarnings
from buildstream import _yaml
import os
@@ -144,6 +144,8 @@ DATA_DIR = os.path.join(
# The cache key test uses a project which exercises all plugins,
# so we cant run it at all if we dont have them installed.
#
+@pytest.mark.skipif(MACHINE_ARCH != 'x86_64',
+ reason='Cache keys depend on architecture')
@pytest.mark.skipif(not IS_LINUX, reason='Only available on linux')
@pytest.mark.skipif(HAVE_BZR is False, reason="bzr is not available")
@pytest.mark.skipif(HAVE_GIT is False, reason="git is not available")