This topic explains how to install the standalone version of C/C++test (which is built upon the Eclipse framework) on a Linux system.
The section includes:
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++test is run must have the complete development environment and compiler tool chain. |
[email protected]/EclipseConfigData
(Be sure to enter the appropriate location.) This configures Eclipse to keep all its configuration data in the $(HOME)/EclipseConfigData
directory. You must have full access rights to that location.ja_JP.PCK
locale on Unix). Other encodings might cause font problems or prevent C++test from reading test results.For details on running multiple instances of Eclipse with C/C++test in parallel see Multi-user Installations. |
To install the standalone version of C/C++test on a Linux system:
gunzip cpptest_<version>_<arch>.tar.gz
tar -xf cpptest_<version>_<arch>.tar
.cpptest_<version>_<arch>.sh
When the script requests confirmation, confirm that C/C++test should be installed in the current directory.
Follow the additional instructions given by the installation script.
C/C++test will be installed in the current directory.
Following the installation, set your path to include the installation location of C/C++test (unless you prefer to start C/C++test GUI with the full path /install/directory/path/cpptest).
|
For C/C++test to autodetect compiler and makefile settings, the necessary executables (compiler/linker, makefile, etc.) must be correctly configured. "Correctly configured" means different things for different compilers, but it typically involves ensuring that the executable is on the PATH. |
To launch the standalone:
cpptest
executable. Include the appropriate location (install dir) on the $PATH or launch it with the full path to the executable ( /install/directory/path/cpptest).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.
The license is configured through the centralized licensing framework (Parasoft> Preferences> Parasoft> Licenses). For details, see Licensing.