Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Address duplicative unit and functional test invocation against the '…
Browse files Browse the repository at this point in the history
…coverage' target.
  • Loading branch information
gerickson committed Oct 19, 2018
1 parent b0b8783 commit ab024a5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/test-apps/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ endif

check_PROGRAMS += \
TestTDM \
TestPathStore \
TestWdmUpdateEncoder \
TestWdmUpdateResponse \
TestPathStore \
TestWdmUpdateEncoder \
TestWdmUpdateResponse \
$(NULL)

if WEAVE_BUILD_WARM
Expand Down Expand Up @@ -402,7 +402,6 @@ check_SCRIPTS += \
$(NULL)
endif # WEAVE_WITH_JAVA


# Test applications that should be built but not installed that
# require no network or complicated setup and should always be
# built to ensure overall "build sanity".
Expand Down Expand Up @@ -1596,7 +1595,7 @@ $(WEAVE_LIBS_COVERAGE_SOURCE):
$(WEAVE_LIBS_COVERAGE_BUNDLE):
$(call create-directory)

$(WEAVE_COVERAGE_INFO): check | $(WEAVE_COVERAGE_BUNDLE)
$(WEAVE_COVERAGE_INFO): check-local | $(WEAVE_COVERAGE_BUNDLE)
$(call generate-coverage-report,${abs_top_builddir})

# collect all the *.gcno & *gcda files of libWeave.a for Weave Library coverage analysis, rename the *h file paths to make it a clean report
Expand All @@ -1618,7 +1617,7 @@ $(WEAVE_LIBS_COVERAGE_INFO): $(WEAVE_COVERAGE_INFO) | $(WEAVE_LIBS_COVERAGE_BUND
$(NL_V_GENHTML)$(GENHTML) $(NL_V_GENHTML_FLAGS) --config-file="$(abs_top_nlbuild_autotools_dir)/etc/lcov.config" $(WEAVE_LIBS_COVERAGE_INFO).clean --output-directory $(WEAVE_LIBS_COVERAGE_BUNDLE)
$(AM_V_at)rm -rf $(WEAVE_LIBS_COVERAGE_SOURCE)

coverage: $(WEAVE_LIBS_COVERAGE_INFO)
coverage-local: $(WEAVE_LIBS_COVERAGE_INFO)

clean-local: clean-local-coverage

Expand Down

0 comments on commit ab024a5

Please sign in to comment.