fix count test now that builtin.mock.mpileaks has build deps
Signed-off-by: Gregory Becker <becker33@llnl.gov>
This commit is contained in:
parent
b6f394ed00
commit
441efad2d5
@ -1305,7 +1305,7 @@ def test_print_install_test_log_failures(
|
|||||||
def test_specs_count(install_mockery, mock_packages):
|
def test_specs_count(install_mockery, mock_packages):
|
||||||
"""Check SpecCounts DAG visitor total matches expected."""
|
"""Check SpecCounts DAG visitor total matches expected."""
|
||||||
spec = spack.spec.Spec("mpileaks^mpich").concretized()
|
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])
|
number_specs = counter.total([spec])
|
||||||
|
|
||||||
json = sjson.load(spec.to_json())
|
json = sjson.load(spec.to_json())
|
||||||
|
Loading…
Reference in New Issue
Block a user