fix requires test for aarch64 (#33656)
This commit is contained in:
parent
ac9172fdbc
commit
17eaf34902
@ -1904,11 +1904,11 @@ def test_require_targets_are_allowed(self, mutable_database):
|
||||
pytest.xfail("Use case not supported by the original concretizer")
|
||||
|
||||
# Configuration to be added to packages.yaml
|
||||
external_conf = {"all": {"require": "target=x86_64"}}
|
||||
external_conf = {"all": {"require": "target=%s" % spack.platforms.test.Test.front_end}}
|
||||
spack.config.set("packages", external_conf)
|
||||
|
||||
with spack.config.override("concretizer:reuse", False):
|
||||
spec = Spec("mpich").concretized()
|
||||
|
||||
for s in spec.traverse():
|
||||
assert s.satisfies("target=x86_64")
|
||||
assert s.satisfies("target=%s" % spack.platforms.test.Test.front_end)
|
||||
|
Loading…
Reference in New Issue
Block a user