Snort mailing list archives
Configure Snort with --enable-test-coverage
From: Gwendal Cournee via Snort-devel <snort-devel () lists snort org>
Date: Mon, 24 Jul 2017 15:42:42 +0200
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, Gwendal Cournée
_______________________________________________ Snort-devel mailing list Snort-devel () lists snort org https://lists.snort.org/mailman/listinfo/snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Configure Snort with --enable-test-coverage Gwendal Cournee via Snort-users (Jul 18)
- <Possible follow-ups>
- Configure Snort with --enable-test-coverage Gwendal Cournee via Snort-devel (Jul 24)
- Re: Configure Snort with --enable-test-coverage Victor Roemer via Snort-devel (Jul 24)
- Re: Configure Snort with --enable-test-coverage Gwendal Cournee via Snort-devel (Jul 24)
- Re: Configure Snort with --enable-test-coverage Russ via Snort-devel (Jul 24)
- Re: Configure Snort with --enable-test-coverage Victor Roemer via Snort-devel (Jul 24)
- Re: Configure Snort with --enable-test-coverage Victor Roemer via Snort-devel (Jul 24)