doc: how to use gcov

This commit is contained in:
Daniel Marjamäki 2009-01-20 21:01:11 +00:00
parent d82314b365
commit ee5c1845a4
1 changed files with 9 additions and 0 deletions

9
using_gcov.txt Normal file
View File

@ -0,0 +1,9 @@
Update the Makefile.
CXXFLAGS=-Wall -pedantic -g -fprofile-arcs -ftest-coverage
make clean
make test
gcov --object-directory src/ src/checkmemoryleak.cpp