unit-test: remove test that is superseded by new semantic

This commit is contained in:
Massimiliano Culpo 2025-02-05 12:58:04 +01:00
parent f75555136b
commit 5920d31b25
No known key found for this signature in database
GPG Key ID: 3E52BB992233066C

View File

@ -1131,22 +1131,6 @@ def test_dependency_conditional_on_another_dependency_state(self):
assert s.concrete
assert not s.satisfies("^variant-on-dependency-condition-b")
# FIXME (compiler as nodes): revisit this test
# @pytest.mark.regression("8082")
# @pytest.mark.parametrize(
# "spec_str,expected", [("cmake %gcc", "%gcc"), ("cmake %clang", "%clang")]
# )
# def test_compiler_constraint_with_external_package(self, spec_str, expected):
# packages_yaml = {
# "cmake": {"externals": [{"spec": "cmake@3.4.3", "prefix": "/usr"}],
# "buildable": False}
# }
# spack.config.set("packages", packages_yaml)
#
# s = spack.concretize.concretize_one(spec_str)
# assert s.external
# assert s.satisfies(expected)
def test_external_that_would_require_a_virtual_dependency(self):
s = spack.concretize.concretize_one("requires-virtual")