Skip to content

TestValueFlow: Remove redundant test configuration, make settings const - #8776

Merged
chrchr-github merged 3 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_vfcfg
Aug 6, 2026
Merged

TestValueFlow: Remove redundant test configuration, make settings const#8776
chrchr-github merged 3 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_vfcfg

Conversation

@chrchr-github

Copy link
Copy Markdown
Collaborator

No description provided.

@firewave

firewave commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Can settings be const now?

@chrchr-github

Copy link
Copy Markdown
Collaborator Author

Can settings be const now?

Now it is.

@chrchr-github chrchr-github changed the title TestValueFlow: Remove redundant test configuration TestValueFlow: Remove redundant test configuration, make settings const Aug 5, 2026
@chrchr-github
chrchr-github merged commit baf5eaa into cppcheck-opensource:main Aug 6, 2026
73 of 74 checks passed
@chrchr-github
chrchr-github deleted the chr_vfcfg branch August 6, 2026 12:17
Comment thread test/testvalueflow.cpp
"}";
ASSERT_EQUALS(true, testValueOfX(code, 4U, 100, ValueFlow::Value::ValueType::BUFFER_SIZE));
ASSERT_EQUALS(true, testValueOfX(code, 4U, 100, ValueFlow::Value::ValueType::BUFFER_SIZE, &settingsCfg));

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This seems to be the only test that actually needs the special settings, and only bsd.cfg at that.

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.

3 participants