Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

aaronliu0130
Copy link
Member

Sometimes, one hath th'need to debugst the tests. And 60s turned the good ol' debugger into Indiana Jones escapingst a rolling boulder. No more.
Before this, the exclude test did not test excluding at all and just duplicated all the errors contained in the other two .def's
This unfortunately means we must use test names like test_samples[silly-includeorder_cfirst] now.
todo(unknown)s were replaced with the appropriate todo(google)s credit (we do not have the knowledge to be more specific than that)
Obviously, we should still check all the changes to the test definitions. This script just makes finding these changes easier.
@@ -209,4 +208,4 @@ addopts = "--color=yes --cov-fail-under=90 --cov=cpplint"
python_files = [ "*test.py" ]
required_plugins = [ "pytest-cov", "pytest-timeout" ]
testpaths = [ "." ]
timeout = 60
timeout = 481
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a massive change. Is there a particular versions of Python and/or operating system that is so slow?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not that it's slow, it's that I oftentimes find myself having to debug the tests, for which 1 minute is not enough for. My average debugging time is about 5 minutes, and 418 is my favorite number.

Copy link
Member

@cclauss cclauss Apr 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cclauss cclauss merged commit bbba111 into cpplint:develop Apr 7, 2025
11 checks passed
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.

2 participants