This topic explains how to advanced options for C/C++test Professional.
In typical scenarios, C/C+test is customized by configuring options in the C/C++test GUI or specifying localsettings (see Configuring Localsettings). If needed, you can further extend C/C++test configuration by specifying advanced settings that are not part of a regular set of localsettings available for C/C++test Professional.
You can specify advanced settings by configuring one of the following:
To configure an advanced settings file, create a file that includes C/C++test's advanced settings and then specify the path to that file in the C/C++test GUI or using a dedicated localsetting. For a complete list of settings that can be included in your advanced settings file, refer to the Configuration Settings section in the C/C++test Standard User Guide you can find at https://docs.parasoft.com.
To specify the path to the advanced settings file in the GUI:
Choose Parasoft>Options in the IDE menu bar to open the Parasoft Preferences panel.
To specify the path to the advanced settings in the command line, open the settings file you normally use to configure analysis with C/C++test and add the following entry:
cpptest.advanced.settings.file=[path to the advanced settings file] |
C/C++test can be customized with the CPPTEST_ENGINE_EXTRA_ARGS option that allows you to specify additional settings, such as source file encoding or the memory size. This may be particularly useful when performing static code analysis or uploading results to DTP.
The option can be configured in one of the following ways:
Create the CPPTEST_ENGINE_EXTRA_ARGS environment variable and set the values, for example:CPPTEST_ENGINE_EXTRA_ARGS="-property file.encoding.mode=user -property file.encoding.name=UTF-8
-J-Xmx4096m"-property
cpptest.analyzer.source.timeout=4400
In the examples above, the memory size is set to 4096m, the source file encoding to UTF-8, and the timeout value to 4400 seconds.
For more details, contact Parasoft Support.