Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clar: fix suite count #5175

Merged
merged 1 commit into from
Jul 18, 2019
Merged

clar: fix suite count #5175

merged 1 commit into from
Jul 18, 2019

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.

None yet

1 participant