Skip to content

Conversation

@firewave
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator Author

firewave commented Feb 28, 2025

Requires #4377 and #7342 to be merged first.

This will help with identifying missing test coverage. Those should be collected below https://trac.cppcheck.net/ticket/12232.

It will also make clearer what is being tested. And would allow to re-group/limit of of the tests (in case someone really got absolutely nothing else to do).

@firewave

This comment was marked as outdated.

@firewave firewave changed the title testrunner: start adding IDs to error messages testrunner: start adding IDs and columns to error messages Feb 28, 2025
@firewave firewave force-pushed the unique-id branch 3 times, most recently from d314bac to cc587b1 Compare February 28, 2025 18:09
@firewave firewave force-pushed the unique-id branch 2 times, most recently from 89cf50d to 2bceaa8 Compare March 19, 2025 14:10
" { }\n"
"}");
ASSERT_EQUALS("[test.cpp:1]: (style) The function 'f1' is never used.\n", errout_str());
ASSERT_EQUALS("[test.cpp:1:0]: (style) The function 'f1' is never used. [unusedFunction]\n", errout_str());
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These should probably have a proper column.

Copy link
Owner

Choose a reason for hiding this comment

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

I agree

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@firewave firewave force-pushed the unique-id branch 4 times, most recently from f8cc900 to 1308a55 Compare April 3, 2025 08:18
@firewave firewave marked this pull request as ready for review April 3, 2025 08:18
@firewave firewave merged commit bf80216 into danmar:main Apr 7, 2025
60 checks passed
@firewave firewave deleted the unique-id branch April 7, 2025 10:58
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