-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add unit test for static allocation component
- Loading branch information
1 parent
0fd77f1
commit eda562e
Showing
6 changed files
with
465 additions
and
437 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# ---------------------------------------------------------------------------- | ||
# Author: Hai Nguyen | ||
# Name: ez_static_alloc_test | ||
# License: This file is published under the license described in LICENSE.md | ||
# Description: Cmake file for static_alloc component | ||
# ---------------------------------------------------------------------------- | ||
|
||
add_executable(ez_static_alloc_test) | ||
|
||
message(STATUS "**********************************************************") | ||
message(STATUS "* Generating ez_static_alloc_test build files") | ||
message(STATUS "**********************************************************") | ||
|
||
|
||
# Source files --------------------------------------------------------------- | ||
target_sources(ez_static_alloc_test | ||
PRIVATE | ||
unittest_ez_static_alloc.c | ||
) | ||
|
||
|
||
# Definitions ---------------------------------------------------------------- | ||
target_compile_definitions(ez_static_alloc_test | ||
PUBLIC | ||
# Please add definitions here | ||
) | ||
|
||
|
||
# Include directory ----------------------------------------------------------- | ||
target_include_directories(ez_static_alloc_test | ||
PUBLIC | ||
# Please add private folders here | ||
PRIVATE | ||
# Please add private folders here | ||
INTERFACE | ||
# Please add interface folders here | ||
) | ||
|
||
|
||
# Link libraries ------------------------------------------------------------- | ||
target_link_libraries(ez_static_alloc_test | ||
PUBLIC | ||
# Please add public libraries | ||
PRIVATE | ||
unity | ||
easy_embedded_lib | ||
INTERFACE | ||
# Please add interface libraries | ||
) | ||
|
||
add_test(NAME ez_static_alloc_test | ||
COMMAND ez_static_alloc_test | ||
) | ||
|
||
# End of file |
Oops, something went wrong.