From 16b0148976b8a92c4ba7888e407cd4c5e26e0cae Mon Sep 17 00:00:00 2001 From: Valentin David Date: Mon, 12 Nov 2018 14:21:46 +0100 Subject: Disable cachekey tests on other architectures than x86_64 --- tests/cachekey/cachekey.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/cachekey') 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") -- cgit v1.2.1