Page tree

Skip to end of metadata
Go to start of metadata

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:

  • Go to Parasoft> Preferences> Technical Support, enable Advanced Options, enter the option and specify the settings, for example:
  • 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


  • In the command line, use the option as a Java property with the -J prefix to pass the settings to cpptestcli, for example:
    cpptestcli.exe -J-DCPPTEST_ENGINE_EXTRA_ARGS="-property file.encoding.mode=user -property file.encoding.name=UTF-8 -J-Xmx4096m


In the examples above, the memory size is set to 4096m, and the source file encoding to UTF-8.

For more details, contact Parasoft Support.

  • No labels