We are using Bullseye tool to have the code coverage for the sshsm repo

  • No labels

1 Comment

  1. BullsEyeCoverage is used for test coverage of SoftHSMv2 and TPM2-Plugin


    1. Install the Bullseye Tool
    2. Export the COVFILE (Coverage file) which is used to record the coverage details
    3. Build the SoftHSMv2 and TPM2-Plugin with the below modifications in the Makefile.am of both the projects
    4.  a. ADD CC = cc in the Makefile.am before building
       b. export PATH=<Directory location of Installed Bullseye>:$PATH
    5. Run script which would perform operations on SoftHSMv2 and TPM2-Plugin. For example import of "caservice" container
    6. Open the COVFILE using the BullsEyeBrowser top view the coverage