...
cpptestcli -config "builtin://MISRA C"
cpptestcli -config "user://My_Config"
cpptestcli -config "dtp://New_Rules"
-listconfigs
This option prints a list of available test configurations and can be used to obtain a valid test configuration name you can pass with the -config
option.
See Configuring Test Configurations for details.
...
-module MyProject=/home/project/src
-module ../Module1
-module .
Anchor resource resource
-resource <path|file name>
...
-include /home/project/src/ATM.cxx
-exclude /home/project/src/*.cxx
-exclude /home/project/MyExcludes.lst
Alternatively, you can specify a list of patterns in a .lst
file and pass the file with the -include
or -exclude
switch. Each line in the file will be treated as a single entry. See .Configuring+the+Test+Scope+v10.4.0 for details about configuring the test scope.
Reporting
-report <path>
This option specifies the path to the directory where the report will be created.
...
-settings Project1Config.properties
Note: The file protocol is supported, for example:file:/C:/Users/user1/Documents/
ctestcpptest.properties
The use of a proxy is supported.
Anchorproperty property
-property <key>=<value>
Anchor | ||||
---|---|---|---|---|
|
...
-property session.tag=sa_linux -property report.dtp.publish=true -property techsupport.create.on.exit=true
-showsettings
This option prints the current settings and customizations.
-psrc <path|name>
This option specifies an advanced configuration file provided by Parasoft Support.
...
-encodepass <your password>
This option generates an encrypted password using AES 256-bit encryption that can be utilized in the .properties configuration file.
Anchorworkspace workspace
-workspace <path>
Anchor | ||||
---|---|---|---|---|
|
...