-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add test executables for different configurations #727
Merged
mlasch
merged 3 commits into
eclipse-wakaama:master
from
husqvarnagroup:gardena/lw/tests_with_different_defines
Nov 21, 2023
Merged
Add test executables for different configurations #727
mlasch
merged 3 commits into
eclipse-wakaama:master
from
husqvarnagroup:gardena/lw/tests_with_different_defines
Nov 21, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
from
October 12, 2023 12:12
8745cf7
to
777d526
Compare
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
8 times, most recently
from
November 3, 2023 20:55
49a85f1
to
3a89ada
Compare
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
from
November 20, 2023 20:17
3a89ada
to
597e111
Compare
mlasch
reviewed
Nov 20, 2023
.cmake-format
Outdated
"COMPILE_DEFINITIONS": '*', | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The newline has gone missing here.
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
from
November 21, 2023 08:12
597e111
to
f306a29
Compare
mlasch
approved these changes
Nov 21, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition to support automated testing and coverage.
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
from
November 21, 2023 11:11
f306a29
to
9c2960e
Compare
The registration code is disabled at compile time if we do not set the define for building a server.
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
from
November 21, 2023 11:55
9c2960e
to
1c3ddbd
Compare
In some cases a random byte pattern was interpreted as a boolean type. This happend when the conversion to a bool was not successful but its value was logged anyway.
The same tests are compiled with different defines to make sure that combinations of different configurations work properly.
LukasWoodtli
force-pushed
the
gardena/lw/tests_with_different_defines
branch
from
November 21, 2023 12:28
1c3ddbd
to
189da07
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The same tests are compiled and ran with different defines to make sure that combinations of different configurations work properly.
Some combinations of defines are added. This can be extended to include other interesting configuration combinations.