-
Notifications
You must be signed in to change notification settings - Fork 3k
CMake: Refactor UNITTESTS CMake #14426
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d9db59f
sort stubs into libraries
rajkan01 ba04c1c
CMake: Add add_subdirectory of unittests
rajkan01 9e62179
CMake: Remove duplicate documents
rajkan01 2bafdf8
CMake: Refactor drivers unittest cmake
rajkan01 c0a8fe6
CMake: Refactor storage TDBstore and FileSystemStore unittest cmake
rajkan01 4536fff
CMake: Refactor storage blockdevice and SFDP unittests cmake
rajkan01 98215d3
CMake: Fix ChainingBlockDevice unittest
rajkan01 5ad5179
CMake: Refactor platform unittest CMake
rajkan01 b664735
CMake: Refactor event unittest cmake
rajkan01 c5a4fec
CMake: Refactor netsocket unittest CMake
rajkan01 37d4bc2
CMake: Refactore cellular framework unittest
rajkan01 bf4ec4a
CMake: Refactor lorawan unittest cmake
rajkan01 452c45b
CMake: Update target_h stub headers
paul-szczepanek-arm 4ade0bd
CMake: Fix DTLS socket unittest
rajkan01 a88f43f
CMake: Update mbed os, unittest CMake and add CMAKE_CROSSCOMPILING guard
rajkan01 f93f71b
CMake: Update build tools python modules to pick refactored way of un…
rajkan01 7288835
CMake: Run the unit tests in travis CI
rajkan01 91051cb
CMake: fix lifflefs filesystem header include path
rajkan01 f096b3b
Fix missing newline
rajkan01 10625b3
CMake: Update hal and platform stub CMake linker options for coverage
rajkan01 6d4caad
CMake: Move CMAKE_CROSSCOMPILING check inside library CMake
rajkan01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,5 @@ DELIVERY/ | |
CMakeCache.txt | ||
cmake_install.cmake | ||
CMakeFiles/ | ||
cmake_build/ | ||
Testing/ |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
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.
This is set by CTest, see my other comment
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.
We want to get the
BUILD_TESTING
argument from the cmake/ctest command line and manually adding option with OFF helps to overrideBUILD_TESTING
getsON
byinclude(CTest)
orenable_testing