Skip to content

Commit

Permalink
tests/cachekey: Cache key tests in core no longer depends on plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
juergbi committed Feb 14, 2025
1 parent 1da1533 commit f27858a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/cachekey/cachekey.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

from buildstream._testing._cachekeys import check_cache_key_stability, _parse_output_keys
from buildstream._testing.runcli import cli # pylint: disable=unused-import
from buildstream._testing._utils.site import HAVE_BZR, HAVE_GIT, IS_LINUX, MACHINE_ARCH
from buildstream._testing._utils.site import IS_LINUX, MACHINE_ARCH
from buildstream.plugin import CoreWarnings
from buildstream import _yaml

Expand All @@ -71,13 +71,8 @@
)


# 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")
@pytest.mark.datafiles(DATA_DIR)
def test_cache_key(datafiles, cli):
project = str(datafiles)
Expand Down

0 comments on commit f27858a

Please sign in to comment.