From 441efad2d56afd8ac7dac68cf1ec14cc26849084 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Fri, 28 Mar 2025 13:42:14 -0500 Subject: [PATCH] fix count test now that builtin.mock.mpileaks has build deps Signed-off-by: Gregory Becker --- lib/spack/spack/test/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/test/installer.py b/lib/spack/spack/test/installer.py index 999cccd6852..98024cabcad 100644 --- a/lib/spack/spack/test/installer.py +++ b/lib/spack/spack/test/installer.py @@ -1305,7 +1305,7 @@ def test_print_install_test_log_failures( def test_specs_count(install_mockery, mock_packages): """Check SpecCounts DAG visitor total matches expected.""" spec = spack.spec.Spec("mpileaks^mpich").concretized() - counter = inst.SpecsCount(dt.LINK | dt.RUN) + counter = inst.SpecsCount(dt.LINK | dt.RUN | dt.BUILD) number_specs = counter.total([spec]) json = sjson.load(spec.to_json())