Updating test and put in a fix

This commit is contained in:
Kayla Butler 2023-06-19 18:14:29 -07:00
parent ff900566e0
commit fe5ea193fc

View File

@ -348,10 +348,11 @@ def test_compiler_flags_differ_identical_compilers(self):
assert spec.satisfies("cflags=-O2") assert spec.satisfies("cflags=-O2")
def test_concretize_compiler_flag_propagate(self): def test_concretize_compiler_flag_propagate(self):
spec = Spec("hypre cflags=='-g' ^openblas") spec = Spec("callpath cflags=='-g'")
spec.concretize() spec.concretize()
assert spec.satisfies("^openblas cflags='-g'") assert spec.satisfies("^dyninst cflags='-g'")
assert spec.satisfies("^libelf cflags='-g'")
@pytest.mark.only_clingo( @pytest.mark.only_clingo(
"Optional compiler propagation isn't deprecated for original concretizer" "Optional compiler propagation isn't deprecated for original concretizer"