Added locv to makefile recipe, added both cryptest.exe runs (thanks Jack Lloyd)
parent
30c9b8376d
commit
da95a18c19
|
|
@ -238,8 +238,8 @@ endif # Aligned access
|
||||||
ifneq ($(filter coverage,$(MAKECMDGOALS)),)
|
ifneq ($(filter coverage,$(MAKECMDGOALS)),)
|
||||||
ifeq ($(findstring -coverage,$(CXXFLAGS)),)
|
ifeq ($(findstring -coverage,$(CXXFLAGS)),)
|
||||||
CXXFLAGS += -coverage
|
CXXFLAGS += -coverage
|
||||||
endif # -ftest-coverage
|
endif # -coverage
|
||||||
endif # Aligned access
|
endif # GCC code coverage
|
||||||
|
|
||||||
# Debug testing on GNU systems
|
# Debug testing on GNU systems
|
||||||
ifneq ($(filter -DDEBUG -DDEBUG=1,$(CXXFLAGS)),)
|
ifneq ($(filter -DDEBUG -DDEBUG=1,$(CXXFLAGS)),)
|
||||||
|
|
@ -326,8 +326,9 @@ asan ubsan align aligned: libcryptopp.a cryptest.exe
|
||||||
coverage: libcryptopp.a cryptest.exe
|
coverage: libcryptopp.a cryptest.exe
|
||||||
lcov --base-directory . --directory . --zerocounters -q
|
lcov --base-directory . --directory . --zerocounters -q
|
||||||
./cryptest.exe v
|
./cryptest.exe v
|
||||||
|
./cryptest.exe tv all
|
||||||
lcov --base-directory . --directory . -c -o cryptest.info
|
lcov --base-directory . --directory . -c -o cryptest.info
|
||||||
lcov --remove cryptest.info "/usr/*" -o cryptest.info
|
lcov --remove cryptest.info "*test.*" "bench*.cpp" "validat*.*" "/usr/*" -o cryptest.info
|
||||||
rm -rf ./TestCoverage/
|
rm -rf ./TestCoverage/
|
||||||
genhtml -o ./TestCoverage/ -t "cryptest.exe test coverage" --num-spaces 4 cryptest.info
|
genhtml -o ./TestCoverage/ -t "cryptest.exe test coverage" --num-spaces 4 cryptest.info
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue