[Snort-devel] Configure Snort with --enable-test-coverage
gwendal.cournee at gmail.com
Mon Jul 24 09:42:42 EDT 2017
To whom it may concern,
I would like to do a code coverage with gcov of Snort (I am testing it with
a program), so I configured it with the following line :
./configure --enable-test-coverage --enable-debug
In the makefile, CFLAGS does include '-fprofile-arcs -ftest-coverage',
which is required to make gcov works.
However, installation then works fine, but i can not find or understand
where the output file is (the .gcov files).
How can I use gcov with Snort ?
Any help would be appreciated,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Snort-devel