Home
last modified time | relevance | path

Searched full:coverage (Results 1 – 25 of 47) sorted by relevance

12

/openthread-2.7.6/third_party/nlbuild-autotools/repo/automake/post/rules/
Dcoverage.am20 # This file is the automake footer for all code-coverage related
24 # (automake in particular) such that 'make coverage' may be invoked
32 # coverage:
33 # Execute local and recursive coverage targets across the
38 # coverage-local:
39 # Execute local coverage targets at the current invocation point.
43 # coverage-recursive:
44 # Recursively execute the 'coverage' target across the
51 # targets at the current invocation point. Local coverage targets
53 # coverage targets are made.
[all …]
/openthread-2.7.6/third_party/nlbuild-autotools/repo/automake/pre/macros/
Dcoverage.am20 # other automake headers and files for code coverage.
26 # Suffix for the code coverage report "bundle".
31 # Suffix for the lcov "info" file inside the code coverage report bundle.
60 # generate-coverage-report <directory>
62 # Capture, using lcov, a coverage report from the specified directory 'directory'
65 # <directory> - The directory from which lcov should search for coverage data (*.gcno & *.gcda)
67 # - create baseline coverage data file (base.info) with '-i|--initial' option
68 # - create test coverage data file (test.info)
69 # - combine baseline and test coverage data to create the final "info" file
71 # Then, on success, generate an HTML-based coverage report using genhtml.
[all …]
/openthread-2.7.6/third_party/nlbuild-autotools/repo/autoconf/m4/
Dnl_enable_coverage_reporting.m420 # --enable-coverage configuration option to the package and
21 # controls whether the package will be built for code coverage
31 # Adds an --enable-coverage-reports configuration option to the
34 # without code coverage reports, using the LCOV package.
54 # to build and generate the coverage reports.
59 AC_CACHE_CHECK([whether to build graphical code coverage reports],
62 AC_ARG_ENABLE(coverage-reports,
63 …[AS_HELP_STRING([--enable-coverage-reports],[Enable the generation of code coverage reports (requi…
72 AC_MSG_ERROR([Invalid value ${enableval} for --enable-coverage])
81 # If coverage is not enabled, then coverage reports
[all …]
Dnl_enable_coverage.m420 # --enable-coverage configuration option to the package and
21 # controls whether the package will be built for code coverage.
30 # Adds an --enable-coverage configuration option to the package with a
32 # whether the package will be built with or without code coverage.
55 AC_CACHE_CHECK([whether to build code-coverage instances of programs and libraries],
58 AC_ARG_ENABLE(coverage,
59 …[AS_HELP_STRING([--enable-coverage],[Enable the generation of code-coverage instances @<:@default=…
67 …AC_MSG_ERROR([both --enable-optimization and --enable-coverage cannot used. Please, choose one or …
72 AC_MSG_ERROR([Invalid value ${enableval} for --enable-coverage])
79 AC_MSG_WARN([--enable-optimization was specified, coverage disabled])
[all …]
/openthread-2.7.6/.github/workflows/
Dsimulation-1.1.yml75 COVERAGE: 1
115 - name: Generate Coverage
121 path: tmp/coverage.info
156 - name: Generate Coverage
162 path: tmp/coverage.info
170 COVERAGE: 1
195 - name: Generate Coverage
201 path: tmp/coverage.info
213 COVERAGE: 1
240 - name: Generate Coverage
[all …]
Dotbr.yml51 COVERAGE: 1
81 export CI_ENV="$(bash <(curl -s https://codecov.io/env)) -e GITHUB_ACTIONS -e COVERAGE"
87 path: /tmp/coverage/
96 - name: Generate Coverage
102 path: tmp/coverage.info
115 COVERAGE: 1
141 export CI_ENV="$(bash <(curl -s https://codecov.io/env)) -e GITHUB_ACTIONS -e COVERAGE"
147 path: /tmp/coverage/
156 - name: Generate Coverage
162 path: tmp/coverage.info
[all …]
Dposix.yml70 - name: Generate Coverage
76 path: tmp/coverage.info
107 - name: Generate Coverage
113 path: tmp/coverage.info
118 COVERAGE: 1
147 - name: Generate Coverage
153 path: tmp/coverage.info
158 COVERAGE: 1
174 - name: Generate Coverage
180 path: tmp/coverage.info
[all …]
Dsimulation-1.2.yml50 COVERAGE: 1
97 - name: Generate Coverage
103 path: tmp/coverage.info
110 COVERAGE: 1
158 - name: Generate Coverage
164 path: tmp/coverage.info
199 - name: Generate Coverage
205 path: tmp/coverage.info
210 COVERAGE: 1
237 - name: Generate Coverage
[all …]
Dtoranj.yml50 COVERAGE: 1
78 - name: Generate Coverage
86 path: tmp/coverage.info
88 upload-coverage:
101 path: coverage/
102 - name: Combine Coverage
105 - name: Upload Coverage
111 delete-coverage-artifacts:
112 needs: upload-coverage
/openthread-2.7.6/third_party/nlbuild-autotools/repo/etc/
Dlcov.config22 # ensure that branch coverage is reported.
28 # Coverage rate limits
32 # Width of line coverage field in source code view
35 # Width of branch coverage field in source code view
80 # Include function coverage data display
83 # Include branch coverage data display
104 # Specify whether to capture coverage data for external source
121 # the base-directory when collecting coverage data.
142 # Specify if function coverage data should be collected and
146 # Specify if branch coverage data should be collected and
/openthread-2.7.6/examples/
DMakefile-simulation33 COVERAGE ?= 0
77 # If the user has asserted COVERAGE, alter the configuration options
228 # coverage-target <target>
230 # Generate code coverage from unit tests for OpenThread for the
233 # target - The target to generate code coverage for.
235 define coverage-target
236 $(ECHO) " COVERAGE $(1)"
238 coverage
239 endef # coverage-target
269 COVERAGE_TARGETS += coverage-$(1)
[all …]
/openthread-2.7.6/src/posix/
DMakefile-posix33 COVERAGE ?= 0
84 # If the user has asserted COVERAGE, alter the configuration options
245 # coverage-target <target>
247 # Generate code coverage from unit tests for OpenThread for the
250 # target - The target to generate code coverage for.
252 define coverage-target
253 $(ECHO) " COVERAGE $(1)"
255 coverage
256 endef # coverage-target
286 COVERAGE_TARGETS += coverage-$(1)
[all …]
/openthread-2.7.6/tests/
DMakefile.am76 $(call generate-coverage-report,${top_builddir})
78 coverage-local: $(OPENTHREAD_COVERAGE_INFO)
80 clean-local: clean-local-coverage
82 .PHONY: clean-local-coverage
83 clean-local-coverage:
/openthread-2.7.6/third_party/nlbuild-autotools/repo/examples/
DMakefile-tests.am94 $(call generate-coverage-report,${top_builddir})
96 coverage-local: $(@PACKAGE_SHORT_UPPER@_COVERAGE_INFO)
98 clean-local: clean-local-coverage
100 .PHONY: clean-local-coverage
101 clean-local-coverage:
Dconfigure.ac219 # Code coverage and compiler optimization
222 # Coverage
372 # Add any code coverage CPPFLAGS and LIBS
430 Build coverage libraries : ${nl_cv_build_coverage}
431 Build coverage reports : ${nl_cv_build_coverage_reports}
/openthread-2.7.6/third_party/nlbuild-autotools/repo/
DCHANGES67 * Added code coverage support for clang, which uses a link flag
68 --coverage instead of linking to a library(-lgov) as gcc does
69 for code coverage functions.
86 * Added support for coverage-local and check-local targets. Added
87 documentation for all coverage-related targets.
151 correctly on some Linux distributions by specifying coverage
166 * Addressed an issue with the 'make coverage' target where certain
216 * Improve the code coverage generation process to cover an entire
/openthread-2.7.6/third_party/mbedtls/repo/
DCMakeLists.txt122 …CACHE STRING "Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg …
187 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
198 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
230 if(CMAKE_BUILD_TYPE STREQUAL "Coverage")
232 set(CMAKE_SHARED_LINKER_FLAGS "--coverage")
234 endif(CMAKE_BUILD_TYPE STREQUAL "Coverage")
303 COMMAND rm -rf Coverage
309 …cription-file descriptions --keep-descriptions --legend --no-branch-coverage -o Coverage final.info
DMakefile103 # note: for coverage testing, build with:
104 # make CFLAGS='--coverage -g3 -O0'
112 rm -rf Coverage
118 …description-file descriptions --keep-descriptions --legend --branch-coverage -o Coverage final.info
D.gitignore17 # Test coverage build artifacts:
18 Coverage
/openthread-2.7.6/tests/toranj/
Dbuild.sh50 echo " -c/--enable-coverage Enable code coverage"
64 coverage=no
69 -c | --enable-coverage)
70 coverage=yes
98 "--enable-coverage=$coverage"
106 "--enable-coverage=$coverage"
194 --enable-coverage=${coverage} \
/openthread-2.7.6/third_party/mbedtls/repo/tests/scripts/
Dbasic-build-test.sh23 # test report and code coverage report.
84 # Step 1 - Make and instrumented build for code coverage
85 export CFLAGS=' --coverage -g3 -O0 '
86 export LDFLAGS=' --coverage'
138 # Step 3 - Process the coverage report
237 # Step 4e - Coverage
238 echo "Coverage"
/openthread-2.7.6/third_party/nlbuild-autotools/repo/make/post/rules/
Dbootstrap.mak26 all check coverage dist distcheck doc docdist install install-headers pretty pretty-check: Makefile target
79 $(NL_V_AT)echo " coverage"
81 $(NL_V_AT)echo " and functional tests, and generate code coverage results "
/openthread-2.7.6/script/
Dtest493 rm -f tmp/coverage.lcov
500 lcov --gcov-tool "$llvm_gcov" --directory . --capture --output-file tmp/coverage.info
505 lcov --directory . --capture --output-file tmp/coverage.info
507 lcov --list tmp/coverage.info
508 lcov --extract tmp/coverage.info "$PWD/src/core/common/message.cpp" | c++filt
513 ls -R coverage/
515 readarray -d '' files < <(find coverage/ -type f -name 'coverage*.info' -print0)
/openthread-2.7.6/third_party/mbedtls/repo/docs/architecture/testing/
Dinvasive-testing.md85 * Coverage: we need to test behaviors which are not easy to trigger by using the API or which canno…
151 | Coverage | ~ Many useful tests are not reasonably achievable |
166 | Coverage | ~ Many useful tests are not reasonably achievable |
184 | Coverage | ~ Many useful tests require additional internal interfaces |
201 | Coverage | ~ Good for platform-independent properties, if we can guarantee them statically |
213 | Coverage | ++ Most things can be tested that way |
239 | Coverage | ! Limited scope |
259 | Coverage | ++ The sky is the limit |
/openthread-2.7.6/
D.codecov.yml1 coverage:

12