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

[nasa/nos3#176] Unit Tests #14

Merged
merged 4 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[nasa/nos3#176] Updated tests to work with nasa-itc sample app - miss…
…ing hwlib stubs currently;
  • Loading branch information
jlucas9 committed Jul 23, 2024
commit 249e410399f361b0d8f1d26e7f36edddcbc27ab5
11 changes: 6 additions & 5 deletions fsw/unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,21 @@ include_directories(${PROJECT_SOURCE_DIR}/fsw/src)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc)


# Add a coverage test executable called "sample_app-ALL" that
# Add a coverage test executable called "sample-ALL" that
# covers all of the functions in sample_app.
#
# Also note in a more complex app/lib the coverage test can also
# be broken down into smaller units (in which case one should use
# a unique suffix other than "ALL" for each unit). For example,
# OSAL implements a separate coverage test per source unit.
add_cfe_coverage_test(sample_app ALL
add_cfe_coverage_test(sample ALL
"coveragetest/coveragetest_sample_app.c"
"${CFE_SAMPLE_APP_SOURCE_DIR}/fsw/src/sample_app.c"
"../src/sample_app.c"
"../src/sample_device.c"
)

# The sample_app uses library functions provided by sample_lib so must be linked
# The sample uses library functions provided by sample_lib so must be linked
# with the sample_lib stub library (this is mainly just an example of how this
# can be done).
add_cfe_coverage_dependency(sample_app ALL sample_lib)
#add_cfe_coverage_dependency(sample ALL sample_lib)

Loading