Skip to content

clar: fix suite count#5175

Merged
pks-t merged 1 commit intolibgit2:masterfrom
pks-t:pks/clar-fix-suite-count
Jul 18, 2019
Merged

clar: fix suite count#5175
pks-t merged 1 commit intolibgit2:masterfrom
pks-t:pks/clar-fix-suite-count

Conversation

@pks-t
Copy link
Member

@pks-t pks-t commented Jul 18, 2019

Fixes #5168 and #5098. Without this, some tests do not get executed at all.

With the introduction of data variants for suites, we started
undercounting the number of suites as we didn't account for those that
were executed twice. This was then adjusted to count the number of
initializers instead, but this fails to account for suites without any
initializers at all.

Fix the suite count by counting either the number of initializers or, if
there is no initializer, count it as a single suite, only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant