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

<component>_report as target for SW Component Report #90

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Unit Test Results
# No OUTPUT is defined to force execution of this target every time
# TODO: list of dependencies is not complete
add_custom_target(
${component_name}_reports
${component_name}_report
ALL
COMMAND ${CMAKE_COMMAND} -E make_directory ${SPHINX_OUTPUT_DIR}
COMMAND ${CMAKE_COMMAND} -E remove_directory ${SPHINX_OUTPUT_DIR}/html
Expand All @@ -233,7 +233,7 @@ Unit Test Results
DEPENDS ${TEST_OUT_JUNIT} ${COV_OUT_HTML}
)

add_dependencies(reports ${component_name}_reports)
add_dependencies(reports ${component_name}_report)
endif(TEST_SOURCES)
endif()
endif()
Expand All @@ -252,7 +252,7 @@ function(_spl_coverage_create_overall_report)
DEPENDS coverage
)
add_custom_target(
unittests
unittests
DEPENDS coverage ${COV_OUT_VARIANT_HTML}
)
else(_SPL_COVERAGE_CREATE_OVERALL_REPORT_IS_NECESSARY)
Expand Down
2 changes: 1 addition & 1 deletion docs/design/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Build kit *test*
.. req:: Support Creation of a Component Report
:status: open

Build kit 'test' shall provide a build target '<component>_reports', that creates a report of a SW component containing
Build kit 'test' shall provide a build target '<component>_report', that creates a report of a SW component containing
the documentation, test specification and all test results.
Precondition of this build target is the existence of a conf.py and index.rst inside the root folder of a component.

Expand Down