我能够找到的示例建议以下内容进行排除:
covselect --add \!/usr/src/thing/to/exclude
Run Code Online (Sandbox Code Playgroud)
但是,当我这样做,并列出我的内容时,我得到:
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/
Run Code Online (Sandbox Code Playgroud)
?
事实证明,只有交互式 bash shell 才需要转义感叹号。当我把它放到脚本中时,转义\符变成了文字,covselect 被指定为路径分隔符,然后将其转换为/. 通过删除!脚本中的转义,它工作得很好。
| 归档时间: |
|
| 查看次数: |
5082 次 |
| 最近记录: |