Attempt to add Code Coverage report (Take 3)

This should be interesting...
pull/432/head
Jeffrey Walton 2017-05-27 03:47:50 -04:00
parent 345b4e49e2
commit 40395c0150
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 1 deletions

View File

@ -569,10 +569,11 @@ coverage: libcryptopp.a cryptest.exe
# Travis CI and CodeCov rule # Travis CI and CodeCov rule
.PHONY: codecov .PHONY: codecov
coverage: libcryptopp.a cryptest.exe codecov: libcryptopp.a cryptest.exe
@-$(RM) -r ./TestCoverage/ @-$(RM) -r ./TestCoverage/
./cryptest.exe v ./cryptest.exe v
./cryptest.exe tv all ./cryptest.exe tv all
gcov $(SRCS)
# Should use CXXFLAGS="-g3 -O1" # Should use CXXFLAGS="-g3 -O1"
.PHONY: valgrind .PHONY: valgrind