From e69d6078d4467a89170ee809adcc9c3128f3f999 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Fri, 1 Nov 2024 10:36:57 -0400 Subject: [PATCH] selftests/check.py: state the suite name when checking for number of 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 --- selftests/check.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/selftests/check.py b/selftests/check.py index 0313da8468..e345ec7f9b 100755 --- a/selftests/check.py +++ b/selftests/check.py @@ -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