From 40395c0150f0a988546a71370791d12a85736f8f Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 27 May 2017 03:47:50 -0400 Subject: [PATCH] Attempt to add Code Coverage report (Take 3) This should be interesting... --- GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 56124362..01342db4 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -569,10 +569,11 @@ coverage: libcryptopp.a cryptest.exe # Travis CI and CodeCov rule .PHONY: codecov -coverage: libcryptopp.a cryptest.exe +codecov: libcryptopp.a cryptest.exe @-$(RM) -r ./TestCoverage/ ./cryptest.exe v ./cryptest.exe tv all + gcov $(SRCS) # Should use CXXFLAGS="-g3 -O1" .PHONY: valgrind