Skip to content

testrunner: added more error IDs and columns to expected output#7533

Merged
firewave merged 4 commits intodanmar:mainfrom
firewave:tesrunner-id
May 16, 2025
Merged

testrunner: added more error IDs and columns to expected output#7533
firewave merged 4 commits intodanmar:mainfrom
firewave:tesrunner-id

Conversation

@firewave
Copy link
Collaborator

No description provided.

Comment on lines +2207 to +2208
ASSERT_EQUALS("[test.c:3:0]: (error) Memory leak: p1 [memleak]\n"
"[test.c:5:0]: (error) Memory leak: p2 [memleak]\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.

Comment on lines +2216 to +2217
ASSERT_EQUALS("[test.c:3:0]: (error) Memory leak: p1 [memleak]\n"
"[test.c:5:0]: (error) Memory leak: p2 [memleak]\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.

See above.

@@ -5138,7 +5139,7 @@ class TestStl : public TestFixture {
" return s.erase(it);\n"
" return s.end();\n"
"}\n");
ASSERT_EQUALS("[test.cpp:3]: (style) Consider using std::find_if algorithm instead of a raw loop.\n", errout_str());
ASSERT_EQUALS("[test.cpp:3:0]: (style) Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm]\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.

@firewave firewave merged commit ff44a9e into danmar:main May 16, 2025
49 checks passed
@firewave firewave deleted the tesrunner-id branch May 16, 2025 19:25
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