Page tree

Skip to end of metadata
Go to start of metadata

Both C++test standalone and the C++test Eclipse plugin allow C++test to be used with Renesas RX—no special integration is required.

C++test doesn't actually "integrate" with the RX development environment; rather, it is preconfigured to support the RX set of compilers, which allows C++test projects to use these compilers.

Support Overview

You can use the cpptesttrace utility to create a .bdf file based on an e2studio project (see Generating a .bdf File From an e2studio Project) and import the .bdf file into C++test for analysis (see Import BDF file into C++test).

The following compiler/environment versions are supported:

  • Renesas RX (Renesas Electronics e2studio) C/C++ Compiler V2.02.x (static analysis only).
  • Renesas RX (Renesas Electronics e2studio) C/C++ Compiler V2.05.x

Generating a .bdf File From an e2studio Project

  1. Start console.
  2. Renesas provides a bat script that sets the required environment variables. You can run this script after setting the correct "InstallDirectory" variable in
    Otherwise, set the compiler required environment variables per the compiler documentation (BIN_RX, INC_RX, RXC_LIB, TCINSTALL, TMP_RX) and add the following locations to PATH:
  3. Set the C++test install directory on PATH.
  4. CD to the project's target configuration directory (<project_workspace_location>/<Debug or HardwareDebug>)
  5. Run the following command:
cpptesttrace --cpptesttraceProjectName=<prj_name>
<path_to_e2studio>\e2_studio\Utilities\make.exe all

To enable logging, add the -d option after calling make.exe and before the all command.


Specify the absolute path to the --cpptesttraceOutputFile option. This is because several .bdf files are likely to spread through working directories spawned by Renesas RX toolchain commands. You may have to place quotation marks around the options containing spaces/braces.

By default, the trace feature is configured to capture each toolchain executable name recognized by C++test through built-in compiler configurations. If the process' command-lines aren't scanned, specify the compiler and linker executable names by adding a --cpptesttraceTraceCommand option to the cpptesttrace command. For example:


The cpptesttrace command always appends its output file, so you should remove the previous .bdf file before re-scanning the project.

Import BDF file into C++test

  1. Start console.
  2. Set environment for the appropriate toolchain as described in the documentation (executables on PATH).
  3. Start C++test.
  4. Follow steps of importing the BDF file described in documentation (see Importing project using Build Data File with the GUI wizard).
  5. Confirm project settings correctness in Properties> Parasoft> C++test> Build Settings.

You must repeat the entire process following any changes to the original project unless you are adding new sources in existing source locations.

  • No labels