Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you add an exclusion using covselect?

Tags:

bullseye

Examples I have been able to find suggest the following for an exclusion:

covselect --add \!/usr/src/thing/to/exclude

However, when I do this, and list my inclusions, I get:

BullseyeCoverage Select Regions 8.8.9 Linux-x64 License 9395 
Copyright (c) Bullseye Testing Technology 1990-2013
include folder /usr/src/
include folder /!/usr/src/thing/to/exclude/

?

like image 600
Craig Avatar asked Jan 30 '14 15:01

Craig


1 Answers

It turns out that escaping the exclamation mark is only necessary for interactive bash shells. When I put this into a script, the escape became literal and covselect was given the \ as a path separator, which was then converted into /. By removing the ! escaping in the script, it works just fine.

like image 54
Craig Avatar answered Nov 15 '22 23:11

Craig