Skip to content

Commit

Permalink
selftests/check.py: state the suite name when checking for number of …
Browse files Browse the repository at this point in the history
…tests

We have the name of the suite, so let's give it to users when printing
out a possible mismatch.

Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Nov 1, 2024
1 parent 5392a1c commit e69d607
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions selftests/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,9 +864,10 @@ def main(args): # pylint: disable=W0621
f" it has {suite.size}."
)
print(
"If you made some changes into selftests please update `TEST_SIZE`"
" variable in `check.py`. If you haven't done any changes to"
" selftests this behavior is an ERROR, and it needs to be fixed."
f"If you made some changes into selftests please update the "
f"value for the `{suite.name}` key in the `TEST_SIZE` "
f"dictionary in `check.py`. If you haven't done any changes to "
f"selftests this behavior is an ERROR, and it needs to be fixed."
)

# tmp dirs clean up check
Expand Down

0 comments on commit e69d607

Please sign in to comment.