0

I want to remove some folders from my .cov file after coverage. My script that run coverage is not in the same folder as src.

I have followed couple of already existing stack answer but they seem not to work. I have already tried

covselect --file "%COVFILE%" --add \/src/bin/qwerty/ 

covselect --file "%COVFILE%" --add \../../src/bin/qwerty/ 

covselect --file "%COVFILE%" --remove ../../src/bin/qwerty/

covselect --file "%COVFILE%" --remove /src/bin/qwerty/

but no luck so far. I cannot find any information in Bullseye documentation. Any idea how to do it?

roffensive
  • 564
  • 4
  • 22

1 Answers1

0

I finally found it here: https://www.bullseye.com/help/build-exclude.html. So the pattern I finally used is as follows:

covselect --file "%COVFILE%" --add !**/src/bin/qwerty/

Where ** is a wildcard.

roffensive
  • 564
  • 4
  • 22