update broadcast test to test excludes as well
This commit is contained in:
parent
788ad561bd
commit
9df3b57f1f
@ -219,10 +219,10 @@ def test_spec_list_broadcast(self, mock_packages):
|
|||||||
matrix = {
|
matrix = {
|
||||||
"matrix": [["mpileaks"], ["^callpath"]],
|
"matrix": [["mpileaks"], ["^callpath"]],
|
||||||
"broadcast": [["%gcc", "%clang"], ["+debug", "~debug"]],
|
"broadcast": [["%gcc", "%clang"], ["+debug", "~debug"]],
|
||||||
}
|
"exclude": ["+debug%clang"]}
|
||||||
speclist = SpecList("specs", [matrix])
|
speclist = SpecList("specs", [matrix])
|
||||||
|
|
||||||
assert len(speclist) == 4
|
assert len(speclist) == 3
|
||||||
for spec in speclist:
|
for spec in speclist:
|
||||||
for node in spec.traverse():
|
for node in spec.traverse():
|
||||||
assert node.compiler.name == spec.compiler.name
|
assert node.compiler.name == spec.compiler.name
|
||||||
|
Loading…
Reference in New Issue
Block a user