This topic explains how to install the C/C++test plugin into a working copy of Eclipse or Linux system.

The section includes:

Prerequisites

System Requirements

In most cases, C/C++test needs to invoke the compiler and linker in order to perform static analysis and runtime testing tasks, which commonly involve preprocessing, compiling, and linking programs.

To access C/C++test’s full functionality, the machine where C/C++test is run must have the complete development environment and compiler tool chain.

IDE Requirements

See IDE Support for details about supported versions.

  • 32-bit IDEs require 32-bit  C++test
  • 64-bit IDEs require 64-bit  C++test

Other Requirements

Known issues with the location of Eclipse configuration/cached data (https://bugs.eclipse.org/bugs/show_bug.cgi?id=54919) could prevent Eclipse from starting properly once C/C++test is installed.

To prevent this problem:

  1. Open the  <Eclipse_Installation_Dir>/configuration/config.ini file for editing.
  2. Add the following line (the actual directory name can be changed): [email protected]/EclipseConfigData

As a result, Eclipse should keep all its config data in $(HOME)/EclipseConfigData directory (you miust have full access rights to that location).

For details on running multiple instances of Eclipse with C/C++test in parallel see Multi-user Installations.

Installation

C/C++test Professional includes Parasoft Test components that are common across a number of Parasoft products version 9.x. If you want to use C/C++test Professional and other Parasoft Test 9.x products on a single Eclipse installation, run C/C++test installation as described below and specify the same Eclipse installation directory as the other Parasoft Test products use.

If Parasoft Test is already installed, it will be upgraded to the latest version (if needed) during C/C++test installation.

To install the C/C++test plugin for Eclipse on Linux:

  1. Copy the distribution file to the target location.
  2. Unpack the installation script using the appropriate command(s):
  3. Execute the following command to run the installation script:
  4. Choose the appropriate Eclipse/CDT target platform type.
  5. Enter your Eclipse (or Development Suite) installation directory, then click OK.

If you later want to uninstall C++test:

  1. Go to the C/C++test installation directory.
  2. Execute extuninstall C/C++test will then be "unregistered" from Eclipse.
  3. (Optional) Remove C/C++test files from the hard drive.

For details on performing a silent installation see Preconfiguration C++test During Installation.

Startup

To allow C/C++test to autodetect compiler and makefile settings, ensure that the necessary executables (compiler/linker, makefile, etc.) are correctly configured. "Correctly configured" means different things on different compilers, but it typically involves ensuring that the executable is on the PATH.

To launch the plugin:

Eclipse will automatically find the C/C++test plugin.

After Eclipse is launched, you should see a Parasoft menu added to the Eclipse menu bar. If you do not see this menu, choose Window> Open Perspective> Other, select C++test, then click OK.

If you suspect that C/C++test is not properly installed, see Troubleshooting and FAQs for help resolving some common installation problems.

Licensing

The license is configured through the centralized licensing framework (Parasoft> Preferences> Parasoft> Licenses). For details, see Licensing.