Installation

Testwell CTC++ can be installed on Windows, Linux and macOS with the following instructions.

Windows

Installing and uninstalling requires administrator rights.

The package for Windows contains a setup.exe, a wizard leading you through all necessary steps.

The proposed directory is C:\Testwell\CTC. You should avoid installing Testwell CTC++ to a directory where only administrators can write.

The installer setup.exe can also be run from command line with these options:

/SILENT /SUPPRESSMSGBOXES
Don't show any message boxes to ask questions, don't show the wizard pages, but show the installation progress.
/VERYSILENT /SUPPRESSMSGBOXES
Same as before but also don't show installation progress.

If you use these options the installer chooses default values for all settings.

/DIR="x:\dirname"

Overrides the default installation directory. A fully qualified pathname must be specified.

/FORCE_WIN32
On a 64 bit Windows installation, you can decide to install the 32 bit versions of all executables with this option.
Note: A detailed list of available options for the windows installer is available at https://jrsoftware.org/ishelp/index.php?topic=setupcmdline.

Linux

Please ensure to download the correct package for usage on 32-bit or 64-bit machines.

In the main directory of the extracted package you can find a makefile to install Testwell CTC++.

Maybe you have already received a testwell.lic file from your vendor of Testwell CTC++ for evaluation. Simply copy it to the main folder of your extracted package to enable your license.

You have to specify the target directory using "prefix".

Examples:

sudo make install prefix=/opt/testwell/ctc_v9.1.2
     make install prefix=$HOME/ctc

After the installation, you have to adjust the following three environment variables accordingly:

PATH
add $prefix/bin to reference to executables of Testwell CTC++
MANPATH
add $prefix/man to reference to the manpages
CTCHOME
create this environment variable to point to $prefix/lib/ctc
To specify the usage of licenses managed by Flexlm License Server, the parameter "FLEXLICFILE" can be set accordingly
sudo make install prefix=/opt/testwell/ctc_v9.1.2 FLEXLICFILE=27000@flxservermachinename
where in this sample 27000 represents the port followed by an @ and the server's name. You can also use this parameter to specify a different location of the testwell.lic, e.g.
sudo make install prefix=/opt/testwell/ctc_v9.1.2 FLEXLICFILE=/opt/testwell/ctc_v9.1.2/lib/ctc/testwell.lic

macOS

In the main directory of the extracted package you can find a makefile to install Testwell CTC++.

Maybe you have already received a testwell.lic file from your vendor of Testwell CTC++ for evaluation. Simply copy it to the main folder of your extracted package to enable your license.

Default target directory is /usr/local. It is recommended to install to a dedicated directory using "prefix".

Examples for specifying a different target directory:

sudo make install prefix=/opt/testwell/ctc_v9.1.2
     make install prefix=$HOME/ctc

Whenever you install to a different target directory you have to adjust following three environment variables accordingly:

PATH
add $prefix/bin to reference to executables of Testwell CTC++
MANPATH
add $prefix/man to reference to the manpages
CTCHOME
create this environment variable to point to $prefix/lib/ctc
To specify the usage of licenses managed by Flexlm License Server, the parameter "FLEXLICFILE" can be set accordingly
sudo make install prefix=/opt/testwell/ctc_v9.1.2 FLEXLICFILE=27000@flxservermachinename
where in this sample 27000 represents the port followed by an @ and the server's name. You can also use this parameter to specify a different location of the testwell.lic, e.g.
sudo make install prefix=/opt/testwell/ctc_v9.1.2 FLEXLICFILE=/opt/testwell/ctc_v9.1.2/lib/ctc/testwell.lic