Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct tracemask in config initializer generator #667

Merged

Conversation

eboasson
Copy link
Contributor

@eboasson eboasson commented Jan 7, 2021

The default config generator initialized the tracemask to the value of
the "valid" field rather than to the value of the "tracemask" field.
This slipped through the test because the test failed to explicitly
check that it is set to 0 prior to forcing it to "config", which it uses
for automatic checking of all other settings.

Signed-off-by: Erik Boasson eb@ilities.com

The default config generator initialized the tracemask to the value of
the "valid" field rather than to the value of the "tracemask" field.
This slipped through the test because the test failed to explicitly
check that it is set to 0 prior to forcing it to "config", which it uses
for automatic checking of all other settings.

Signed-off-by: Erik Boasson <eb@ilities.com>
Signed-off-by: Erik Boasson <eb@ilities.com>
@eboasson eboasson force-pushed the fix-defconf-gen-tracemask branch from 5ac2f31 to 6211dc4 Compare January 7, 2021 12:26
Copy link
Contributor

@dpotman dpotman left a comment

Choose a reason for hiding this comment

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

LGTM

@eboasson eboasson merged commit 7d29477 into eclipse-cyclonedds:master Jan 18, 2021
@eboasson eboasson deleted the fix-defconf-gen-tracemask branch May 10, 2021 12:07
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