Comparing two component test runs in Eclipse

Test RealTime for Eclipse CDT

The compare mode enables you to automatically run a C component test twice with different configuration settings. For example, you can use the compare mode to compare the results with and without the runtime analysis tools, or with two different compilers. The results of both test runs are displayed together in a compare mode report.

The compare mode is not available for C++ tests.

To enable the compare mode:

  1. In the Eclipse workbench, select the test perspective and double click a Test RealTime test in the test navigator.

  2. Select Run secondary test in compare mode. This creates a new set of configuration settings for the comparison named <configuration>.compare.settings, which is based on the configuration settings selected for the test.

  3. Click Edit to open the configuration settings editor to change the configuration settings for the compare test.

  4. After you have changed the compare configuration settings, close and save the configuration settings.

  5. Run the test.

Related Topics

Comparing C Test ReportsManaging configuration settings in EclipseConfiguration settings reference