On Tue, Jan 01, 2008 at 11:37:30PM +0100, Németh Márton wrote: > I would like to write some tests for my dissector. To check how far I > could cover my dissector code I could use the "--coverage" option of > the gcc (see > http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#index-coverage-375 > ). > > Where do I have to put the "--coverage" option?
Set the environment variable CFLAGS to "--coverage" and re-run the configure script then rebuild Wireshark with make (see ./configure --help for more details). > Will this work together with Wireshark? Not sure - this is the first I have heard of that gcc option. Try it out and let us know how it went. Steve _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev