mavak / trucov

True coverage tool for C / C++
1 stars 1 forks source link

selection doesn't seem to work #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I ran

trucov list IEC_update

and it printed every function name.

I tried 

trucov list '.*IEC_update.*'

it still printed every function.

Original issue reported on code.google.com by j.nick.terry@gmail.com on 9 Sep 2009 at 4:35

GoogleCodeExporter commented 9 years ago
played with it further.

trucov list IEC_update --and

does what I was expecting

I think what's happening is the default selection of all and the default for OR 
is
causing selection to select every function.

command line selections should override config-file/default selections.
config-file selections should override default selections.
config-file selections accumulate.
command line selections accumulate.
in other words if there is at least one command line selection ignore all
config-file/default selections.  If there is atleast one config file selection 
ignore
the default selection.

Original comment by j.nick.terry@gmail.com on 9 Sep 2009 at 5:00

GoogleCodeExporter commented 9 years ago
Assigned to Matt.

Original comment by millerlyte87@gmail.com on 9 Sep 2009 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by millerlyte87@gmail.com on 10 Sep 2009 at 12:07

GoogleCodeExporter commented 9 years ago

Original comment by millerlyte87@gmail.com on 10 Sep 2009 at 12:20

GoogleCodeExporter commented 9 years ago
Verify these changes.

Original comment by millerlyte87@gmail.com on 14 Sep 2009 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by yekyaw.wsu@gmail.com on 6 Oct 2009 at 3:45