mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-10 03:39:03 +08:00
Remove obsolete target covtest
This target dates back from before basic-build-test.sh existed. Refer to that script instead. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
141b551df6
commit
eaac1afcf1
@ -311,13 +311,13 @@ if(ENABLE_TESTING)
|
|||||||
# additional convenience targets for Unix only
|
# additional convenience targets for Unix only
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(covtest
|
# For coverage testing:
|
||||||
COMMAND make test
|
# 1. Build with:
|
||||||
COMMAND programs/test/selftest
|
# cmake -D CMAKE_BUILD_TYPE=Coverage /path/to/source && make
|
||||||
COMMAND tests/compat.sh
|
# 2. Run the relevant tests for the part of the code you're interested in.
|
||||||
COMMAND tests/ssl-opt.sh
|
# For the reference coverage measurement, see
|
||||||
)
|
# tests/scripts/basic-build-test.sh
|
||||||
|
# 3. Run scripts/lcov.sh to generate an HTML report.
|
||||||
ADD_CUSTOM_TARGET(lcov
|
ADD_CUSTOM_TARGET(lcov
|
||||||
COMMAND scripts/lcov.sh
|
COMMAND scripts/lcov.sh
|
||||||
)
|
)
|
||||||
|
16
Makefile
16
Makefile
@ -3,7 +3,7 @@ PREFIX=mbedtls_
|
|||||||
|
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
.PHONY: all no_test programs lib tests install uninstall clean test check covtest lcov apidoc apidoc_clean
|
.PHONY: all no_test programs lib tests install uninstall clean test check lcov apidoc apidoc_clean
|
||||||
|
|
||||||
all: programs tests
|
all: programs tests
|
||||||
$(MAKE) post_build
|
$(MAKE) post_build
|
||||||
@ -100,15 +100,13 @@ check: lib tests
|
|||||||
test: check
|
test: check
|
||||||
|
|
||||||
ifndef WINDOWS
|
ifndef WINDOWS
|
||||||
# Note: for coverage testing, build with:
|
# For coverage testing:
|
||||||
|
# 1. Build with:
|
||||||
# make CFLAGS='--coverage -g3 -O0' LDFLAGS='--coverage'
|
# make CFLAGS='--coverage -g3 -O0' LDFLAGS='--coverage'
|
||||||
# For the reference coverage measurement, see tests/scripts/basic-build-test.sh
|
# 2. Run the relevant tests for the part of the code you're interested in.
|
||||||
covtest:
|
# For the reference coverage measurement, see
|
||||||
$(MAKE) check
|
# tests/scripts/basic-build-test.sh
|
||||||
programs/test/selftest
|
# 3. Run scripts/lcov.sh to generate an HTML report.
|
||||||
tests/compat.sh
|
|
||||||
tests/ssl-opt.sh
|
|
||||||
|
|
||||||
lcov:
|
lcov:
|
||||||
scripts/lcov.sh
|
scripts/lcov.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user