Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
How should regex suppresion be used?
2308jgdimca
Posts: 3 ✭
in C/C++test
The C/C++Test Parasoft tool gives various ways of suppressing alerts. One of them is to define a regex pattern, which is matched on every analyzed code line. Unfortunately I have trouble using this functionality.
I want to supress alerts produced by some macro:
define FOO syslog ...
I included following lines in my cpptestcli.properties file:
cpptest.result.line.suppressions.enabled=true
cpptest.result.line.suppressions.pattern=.syslog.
Even when using this generous regex pattern, all code lines including the macro are flagged
Am I using it wrong, or what am I missing?
Tagged:
0