Check all dependencies for test

This commit is contained in:
Kayla Butler 2023-10-05 11:03:48 -07:00
parent a27da63d3e
commit b8c373f51e

View File

@ -363,7 +363,8 @@ def test_concretize_compiler_flag_does_not_propagate(self):
spec = Spec("hypre cflags='-g' ^openblas")
spec.concretize()
assert not spec.satisfies("^openblas cflags='-g'")
for dep in spec.traverse(root=False):
assert not dep.satisfies("cflags='-g'")
@pytest.mark.only_clingo(
"Optional compiler propagation isn't deprecated for original concretizer"