From 9df3b57f1ffd454bcf61abc9aec8e9a09064579e Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Thu, 23 Mar 2023 10:36:03 -0700 Subject: [PATCH] update broadcast test to test excludes as well --- lib/spack/spack/test/spec_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spack/spack/test/spec_list.py b/lib/spack/spack/test/spec_list.py index b877c095ce2..b173ff42b1a 100644 --- a/lib/spack/spack/test/spec_list.py +++ b/lib/spack/spack/test/spec_list.py @@ -219,10 +219,10 @@ def test_spec_list_broadcast(self, mock_packages): matrix = { "matrix": [["mpileaks"], ["^callpath"]], "broadcast": [["%gcc", "%clang"], ["+debug", "~debug"]], - } + "exclude": ["+debug%clang"]} speclist = SpecList("specs", [matrix]) - assert len(speclist) == 4 + assert len(speclist) == 3 for spec in speclist: for node in spec.traverse(): assert node.compiler.name == spec.compiler.name