Mailing List Archive

Regarding ClamAV code coverage metrics with help of existing unit-test cases
Dear All,
I would like to build the ClamAV software from source code on an ubuntu machine and  measure the  code coverage of the ClamAV project with the help  of existing unit test cases in the ClamAV project
 for that, the  below  steps that I  followed
1.compiled the ClamAV source code locally  and installed successfully on the local ubuntu machine
 a)autogen.sh  b)./configure --enable-check  --enable-coveragec)sudo make install
2)After installation, I  switched from the ClamAV source folder to  "unit_tests" and  executed the make command but failed with the below error makemake: Nothing to be done for 'all'.
I want to run all  unit-test cases covered (at one go)  under the unit_test folder  and measure the ClamAV  code coverage  metrics( in terms of  line/statement coverage, function coverage, branch coverage) by  exiting the unit-test case suite(s) of ClamAV
I have gone through  ClamAV documentation a little bit but could not find a clue for it. Could any one of you please help me on  this and any help /suggestions would be appreciated 

Thanks,Satish Yaduvanshi






_______________________________________________

clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml