How to determine if an environment is supported by C/C++test

The post below assumes all the software and hardware requirements for host machine (where C/C++test is installed) on are met, which is a prerequisite for all testing with C/C++test. Please see the "Installation and Licensing" page in the C/C++test Help documentation for the detailed requirements.
The information you will need from the customer:

  • What kind of analysis desired (static analysis, unit testing, and/or application monitoring)
  • The target architecture (Ex. ARM, MSP430, PowerPC)
  • The compiler and its version
  • The compiler vendor (Ex. Green Hills, IAR, etc)
  • The host environment (Where C/C++test is installed: ex. Windows, Linux, Solaris)
  • The development IDE if there is one (optional but preferred)

With the information above, you should be able to use the “Embedded Platforms and Cross-Compilers” table in the “Supported Environments” section of the C/C++test help documentation to determine the level of support. The table has three columns: “Platform” which lists the various compiler vendors, “Compiler” which will have information about compiler version (and target architecture for that compiler if applicable) along with which host environments are supported for that compiler, and “Comments” which will have additional information about support and limitations.

Static Analysis

C/C++test supports Static Analysis if

  • The compiler version on a particular host platform is supported
  • Ex. We support RVCT 5.x, but only on Windows. On Linux we only support RVCT 3.0 and 3.1.

Please refer to the “Embedded Platforms and Cross-Compilers” table on the “Supported Environments” page in the C/C++test Help documentation for a full list of all the supported compilers and their limitations.

Unit Testing/Application monitoring
C/C++test supports Unit Testing/Application Monitoring if:

  • The compiler version on a particular host platform is supported
  • The respective target architecture for a given compiler is supported (if testing on a target board).
  • Ex. We have support for IAR compilers for various target architectures such as ARM, STM8, and MSP430, but there are several we don’t support, such as the SAM8 and 8051 architectures.
  • The compiler is not marked as ‘Static analysis only’ in the “Embedded Platforms and Cross-Compilers” table in the C++test User’s Guide.

Examples from the C/C++test manual:

IAR ANSI C/C++ Compiler V6.3x for ARM (C-only)

The compiler “IAR ANSI C/C++ Compiler V6.3x” for the “ARM” architecture for the C language.

Green Hills MULTI v5.0.x C/C++ optimizing compilers for PowerPC

The compiler “Green Hills MULTI v5.0.x C/C++ compiler” for the “PowerPC” architecture

Please refer to the “Embedded Platforms and Cross-Compilers” table on the “Supported Environments” page in the C/C++test Help documentation for a full list of all the supported compilers and their limitations.

Sign In or Register to comment.